Przeglądaj źródła

Fixed unused variable warning by replacing them with descriptive comments

Jared Mulconry 8 lat temu
rodzic
commit
79a5165106
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      code/FBXBinaryTokenizer.cpp

+ 5 - 5
code/FBXBinaryTokenizer.cpp

@@ -439,11 +439,11 @@ void TokenizeBinary(TokenList& output_tokens, const char* input, unsigned int le
     }
     }
 
 
     const char* cursor = input + 18;
     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 uint32_t version = ReadWord(input, cursor, input + length);
 	const bool is64bits = version >= 7500;
 	const bool is64bits = version >= 7500;
     while (cursor < input + length)
     while (cursor < input + length)