fix misor findings.

This commit is contained in:
kimkulling
2020-03-11 17:42:10 +01:00
parent 69551e81ed
commit 19b40397a9
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -1369,8 +1369,9 @@ inline void Asset::ReadExtensionsUsed(Document &doc) {
#undef CHECK_EXT
}
inline IOStream *Asset::OpenFile(std::string path, const char *mode, bool /*absolute*/) {
inline IOStream *Asset::OpenFile(std::string path, const char *mode, bool absolute ) {
#ifdef ASSIMP_API
(void) absolute;
return mIOSystem->Open(path, mode);
#else
if (path.size() < 2) return 0;