소스 검색

Fix warning: unused variable

Kim Kulling 3 년 전
부모
커밋
15b08f643a
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      code/AssetLib/Blender/BlenderLoader.cpp

+ 0 - 2
code/AssetLib/Blender/BlenderLoader.cpp

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