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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user