mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024180: Eliminate CLang / GCC compiler warning -Wswitch
Eliminated warnings -Wswitch shown by gcc Eliminated two new warnings about wrong initialization order Eliminated warnings about unused functions. A few more ICC warnings (type conversions) fixed
This commit is contained in:
@@ -180,7 +180,7 @@ void BinLDrivers_DocumentStorageDriver::Write
|
||||
WriteMessage (aStr + theFileName);
|
||||
#endif
|
||||
SetIsError(Standard_True);
|
||||
SetStoreStatus(PCDM_SS_DiskWritingFailure);
|
||||
SetStoreStatus(PCDM_SS_WriteFailure);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user