Get rid of warnings on GCC4.4 with -wall
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@541 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -326,14 +326,25 @@ bool DXFImporter::ParseEntities()
|
||||
{
|
||||
while (GetNextToken()) {
|
||||
if (!groupCode) {
|
||||
if (!::strcmp(cursor,"3DFACE") || !::strcmp(cursor,"LINE") || !::strcmp(cursor,"3DLINE"))
|
||||
if (!Parse3DFace()) return false; else bRepeat = true;
|
||||
|
||||
if (!::strcmp(cursor,"POLYLINE") || !::strcmp(cursor,"LWPOLYLINE"))
|
||||
if (!ParsePolyLine()) return false; else bRepeat = true;
|
||||
|
||||
if (!::strcmp(cursor,"ENDSEC"))
|
||||
if (!::strcmp(cursor,"3DFACE") || !::strcmp(cursor,"LINE") || !::strcmp(cursor,"3DLINE")){
|
||||
if (!Parse3DFace()) {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
bRepeat = true;
|
||||
}
|
||||
}
|
||||
if (!::strcmp(cursor,"POLYLINE") || !::strcmp(cursor,"LWPOLYLINE")){
|
||||
if (!ParsePolyLine()) {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
bRepeat = true;
|
||||
}
|
||||
}
|
||||
if (!::strcmp(cursor,"ENDSEC")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user