Fixed cppcheck warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@604 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -226,7 +226,7 @@ read_stla(const std::string& _filename, BaseImporter& _bi) const
|
|||||||
|
|
||||||
std::string line;
|
std::string line;
|
||||||
|
|
||||||
bool normal = false;
|
//bool normal = false;
|
||||||
|
|
||||||
while( in && !in.eof() ) {
|
while( in && !in.eof() ) {
|
||||||
|
|
||||||
@@ -257,7 +257,7 @@ read_stla(const std::string& _filename, BaseImporter& _bi) const
|
|||||||
strstream >> n[1];
|
strstream >> n[1];
|
||||||
strstream >> n[2];
|
strstream >> n[2];
|
||||||
|
|
||||||
normal = true;
|
//normal = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Detected a triangle
|
// Detected a triangle
|
||||||
@@ -303,7 +303,7 @@ read_stla(const std::string& _filename, BaseImporter& _bi) const
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
normal = false;
|
//normal = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user