1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0030684: Coding Rules - eliminate GCC compiler warnings -Wformat-overflow and -Wcatch-value

This commit is contained in:
kgv
2019-04-29 22:31:45 +03:00
committed by bugmaster
parent b44bf0f8fe
commit 1ac1059961
2 changed files with 16 additions and 16 deletions

View File

@@ -56,7 +56,7 @@ Standard_Boolean Storage_TypeData::Read (Storage_BaseDriver& theDriver)
OCC_CATCH_SIGNALS
theDriver.ReadTypeInformations (aTypeNum, aTypeName);
}
catch (Storage_StreamTypeMismatchError)
catch (const Storage_StreamTypeMismatchError&)
{
myErrorStatus = Storage_VSTypeMismatch;
myErrorStatusExt = "ReadTypeInformations";