mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
Removed duplicating semicolons ;;. Removed redundant semicolon at namespace closure.
This commit is contained in:
@@ -136,7 +136,7 @@ Standard_IStream& BinTools::GetShortReal (Standard_IStream& theIS,
|
||||
Standard_IStream& BinTools::GetInteger(Standard_IStream& IS, Standard_Integer& aValue)
|
||||
{
|
||||
if(!IS.read ((char*)&aValue, sizeof(Standard_Integer)))
|
||||
throw Storage_StreamTypeMismatchError();;
|
||||
throw Storage_StreamTypeMismatchError();
|
||||
#if DO_INVERSE
|
||||
aValue = InverseInt (aValue);
|
||||
#endif
|
||||
@@ -151,7 +151,7 @@ Standard_IStream& BinTools::GetInteger(Standard_IStream& IS, Standard_Integer& a
|
||||
Standard_IStream& BinTools::GetExtChar(Standard_IStream& IS, Standard_ExtCharacter& theValue)
|
||||
{
|
||||
if(!IS.read ((char*)&theValue, sizeof(Standard_ExtCharacter)))
|
||||
throw Storage_StreamTypeMismatchError();;
|
||||
throw Storage_StreamTypeMismatchError();
|
||||
#if DO_INVERSE
|
||||
theValue = InverseExtChar (theValue);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user