From 79a51651068b5b5bef4d7b609a7301d9f6790b89 Mon Sep 17 00:00:00 2001 From: Jared Mulconry Date: Sun, 24 Sep 2017 21:46:15 +1000 Subject: [PATCH] Fixed unused variable warning by replacing them with descriptive comments --- code/FBXBinaryTokenizer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/FBXBinaryTokenizer.cpp b/code/FBXBinaryTokenizer.cpp index 46e85d8..ede32d7 100644 --- a/code/FBXBinaryTokenizer.cpp +++ b/code/FBXBinaryTokenizer.cpp @@ -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) -- 2.7.4