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:
@@ -610,7 +610,7 @@ void XFileImporter::ConvertMaterials( aiScene* pScene, const std::vector<XFile::
|
||||
|
||||
|
||||
// find the file name
|
||||
const size_t iLen = sz.length();
|
||||
//const size_t iLen = sz.length();
|
||||
std::string::size_type s = sz.find_last_of("\\/");
|
||||
if (std::string::npos == s)
|
||||
s = 0;
|
||||
|
||||
Reference in New Issue
Block a user