Fix warning: unused variable

pull/4342/head
Kim Kulling 2022-01-19 21:55:24 +01:00
parent 17d5633a5b
commit 15b08f643a
1 changed files with 0 additions and 2 deletions

View File

@ -120,8 +120,6 @@ static const char * const TokensForSearch[] = { "blender" };
// Returns whether the class can handle the format of the given file. // Returns whether the class can handle the format of the given file.
bool BlenderImporter::CanRead(const std::string &pFile, IOSystem *pIOHandler, bool /*checkSig*/) const { bool BlenderImporter::CanRead(const std::string &pFile, IOSystem *pIOHandler, bool /*checkSig*/) const {
// note: this won't catch compressed files // note: this won't catch compressed files
static const char *tokens[] = { "<BLENDER", "blender" };
return SearchFileHeaderForToken(pIOHandler, pFile, tokens, AI_COUNT_OF(tokens)); return SearchFileHeaderForToken(pIOHandler, pFile, tokens, AI_COUNT_OF(tokens));
} }