From 331009a321e4064afe99023add0aa7afb70f0abe Mon Sep 17 00:00:00 2001 From: miloyip Date: Mon, 13 Apr 2015 16:49:10 +0800 Subject: [PATCH] Fix gcc warning --- test/unittest/readertest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unittest/readertest.cpp b/test/unittest/readertest.cpp index 25a7261..a808d90 100644 --- a/test/unittest/readertest.cpp +++ b/test/unittest/readertest.cpp @@ -1196,10 +1196,10 @@ struct TerminateHandler { bool Double(double) { return e != 6; } bool String(const char*, SizeType, bool) { return e != 7; } bool StartObject() { return e != 8; } - bool Key(const char* str, SizeType length, bool copy) { return e != 9; } - bool EndObject(SizeType memberCount) { return e != 10; } + bool Key(const char*, SizeType, bool) { return e != 9; } + bool EndObject(SizeType) { return e != 10; } bool StartArray() { return e != 11; } - bool EndArray(SizeType elementCount) { return e != 12; } + bool EndArray(SizeType) { return e != 12; } }; #define TEST_TERMINATION(e, json)\