fixed compiler warning

This commit is contained in:
Bart Hakvoort 2004-09-21 15:25:13 +00:00
parent ff050c1aab
commit fcb12de3b4
1 changed files with 2 additions and 2 deletions

View File

@ -116,13 +116,13 @@ void Dialog_Partition_New::Set_Data( const Partition & partition, bool any_exten
Partition Dialog_Partition_New::Get_New_Partition()
{
Partition part_temp ;
PartitionType part_type;
PartitionType part_type = GParted::UNALLOCATED; //paranoia ;P
Sector new_start, new_end;
switch ( optionmenu_type.get_history() )
{
case 0 : part_type = GParted::PRIMARY; break;
case 1 : part_type = GParted::LOGICAL; break;
case 1 : part_type = GParted::LOGICAL; break;
case 2 : part_type = GParted::EXTENDED; break;
}