mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -56,9 +56,6 @@
|
||||
.TObj_Appl_SFailure
|
||||
Error saving document %s : general failure of persistence driver
|
||||
|
||||
.TObj_Appl_SDiskWritingFailure
|
||||
Error saving document %s : possibly the disk is full or other disk write problem occurred
|
||||
|
||||
.TObj_Appl_SDocIsNull
|
||||
Error saving document %s : No document to save
|
||||
|
||||
|
@@ -103,9 +103,6 @@ Standard_Boolean TObj_Application::SaveDocument
|
||||
case PCDM_SS_Failure:
|
||||
ErrorMessage (Message_Msg("TObj_Appl_SFailure") << aPath);
|
||||
break;
|
||||
case PCDM_SS_DiskWritingFailure:
|
||||
ErrorMessage (Message_Msg("TObj_Appl_SDiskWritingFailure") << aPath);
|
||||
break;
|
||||
case PCDM_SS_Doc_IsNull:
|
||||
ErrorMessage (Message_Msg("TObj_Appl_SDocIsNull") << aPath);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user