Commit d8a2c1da authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed cppcheck warning about possible null pointer reference

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@573 fdac6126-5c0c-442c-9429-916003d36597
parent 5da500d1
......@@ -246,7 +246,8 @@ read_stla(const std::string& _filename, BaseImporter& _bi) const
}
}
fclose(in);
if (in)
fclose(in);
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment