warning fixed

This commit is contained in:
Dhanya Maliakal 2015-04-15 14:49:06 +02:00
parent b4f995084c
commit 8f4c2001ae
2 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ class fileIOStatic {
} \ } \
/*else cout << "******************************** cannot parse file index" << endl; \*/ /*else cout << "******************************** cannot parse file index" << endl; \*/
uscore=s.rfind("_"); \ uscore=s.rfind("_"); \
if (sscanf( s.substr(uscore+1,s.size()-uscore-1).c_str(),"f%d",&i)) \ if (sscanf( s.substr(uscore+1,s.size()-uscore-1).c_str(),"f%d",&i)){ \
if(i==-1)return 0; \ if(i==-1)return 0; \
else return i; \ else return i; } \
/*cout << "******************************** cannot parse frame index" << endl; \*/ /*cout << "******************************** cannot parse frame index" << endl; \*/
return 0; \ return 0; \
}; };