1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]

This commit is contained in:
abv
2015-11-20 21:04:11 +03:00
committed by bugmaster
parent 4d8eca1dce
commit 79104795a1
700 changed files with 2920 additions and 2904 deletions

View File

@@ -433,11 +433,11 @@ void BinTools_ShapeSet::Read(Standard_IStream& IS)
return;
}
Standard_Integer i, nbShapes;
Standard_Integer nbShapes = 0;
IS >> nbShapes;
IS.get();//remove lf
for (i = 1; i <= nbShapes; i++) {
for (int i = 1; i <= nbShapes; i++) {
TopoDS_Shape S;
@@ -512,7 +512,7 @@ void BinTools_ShapeSet::Write(const TopoDS_Shape& S, Standard_OStream& OS)const
void BinTools_ShapeSet::Read(TopoDS_Shape& S, Standard_IStream& IS,
const Standard_Integer nbshapes)const
{
Standard_Character aChar;
Standard_Character aChar = '\0';
IS >> aChar;
if(aChar == '*')
S = TopoDS_Shape();