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

0025734: GCC warnings in Android build

Warnings were fixed.

Fixed wrong re-initialization.
This commit is contained in:
ski
2015-02-05 14:23:17 +03:00
committed by bugmaster
parent 5fd3308acd
commit bcf50875e3
29 changed files with 103 additions and 172 deletions

View File

@@ -198,9 +198,11 @@ static Standard_Integer WhatKindOfLine(OSD_File& aFile,
}
if (Pos == Line.Length())
aToken2.Clear();
else
aToken2 = Line.SubString(Pos,Line.Length()-1);
else {
Line.Remove(1,Pos-1);
Line.Remove(Line.Length());
aToken2 = Line;
}
if (Debug)
cout << "'\t Value = '" << aToken2 << "'" << endl << flush;
return RESOURCE;