Fixed unused variable warning by replacing them with descriptive comments
authorJared Mulconry <jaredmulconry@gmail.com>
Sun, 24 Sep 2017 11:46:15 +0000 (21:46 +1000)
committerJared Mulconry <jaredmulconry@gmail.com>
Sun, 24 Sep 2017 11:46:15 +0000 (21:46 +1000)
code/FBXBinaryTokenizer.cpp

index 46e85d8..ede32d7 100644 (file)
@@ -439,11 +439,11 @@ void TokenizeBinary(TokenList& output_tokens, const char* input, unsigned int le
     }
 
     const char* cursor = input + 18;
-       const uint8_t unknown_1 = ReadByte(input, cursor, input + length);
-       const uint8_t unknown_2 = ReadByte(input, cursor, input + length);
-       const uint8_t unknown_3 = ReadByte(input, cursor, input + length);
-       const uint8_t unknown_4 = ReadByte(input, cursor, input + length);
-       const uint8_t unknown_5 = ReadByte(input, cursor, input + length);
+       /*Result ignored*/ ReadByte(input, cursor, input + length);
+       /*Result ignored*/ ReadByte(input, cursor, input + length);
+       /*Result ignored*/ ReadByte(input, cursor, input + length);
+       /*Result ignored*/ ReadByte(input, cursor, input + length);
+       /*Result ignored*/ ReadByte(input, cursor, input + length);
        const uint32_t version = ReadWord(input, cursor, input + length);
        const bool is64bits = version >= 7500;
     while (cursor < input + length)