Fix a possibly uninitialized variable.
This commit is contained in:
parent
2534608094
commit
7e8f64ffd7
|
@ -193,6 +193,7 @@ static QLatin1String getPartitionType(FileSystem::Type t, PartitionTable::TableT
|
|||
type = 1;
|
||||
break;
|
||||
default:;
|
||||
return QLatin1String();
|
||||
}
|
||||
for (quint32 i = 0; i < sizeof(typemap) / sizeof(typemap[0]); i++)
|
||||
if (typemap[i].type == t)
|
||||
|
|
Loading…
Reference in New Issue