From d48093b77728a8740f50c9982ccc87de79afd9b9 Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Sat, 12 Jul 2014 21:49:40 -0600 Subject: [PATCH] fix unused variable warning when building with cmake --- src/tools/type-generator/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/type-generator/main.cpp b/src/tools/type-generator/main.cpp index ccb2464650..68bdf93227 100644 --- a/src/tools/type-generator/main.cpp +++ b/src/tools/type-generator/main.cpp @@ -622,7 +622,7 @@ const char* fieldType(const char* spec) void parseJavaClass(Module& module, ClassParser& clparser, Stream* s) { - uint32_t magic = s->read4(); + uint32_t magic UNUSED = s->read4(); assert(magic == 0xCAFEBABE); s->read2(); // minor version s->read2(); // major version