From e067040375c22c8ba41e2c5a6e8c14b7e00095aa Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Wed, 20 Jul 2016 17:52:41 -0700 Subject: [PATCH] Fixed unused parameter warning. Change-Id: I7a2576c6f366b89ef3e1f83941f90294ca7a07fd --- tests/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.cpp b/tests/test.cpp index c31fe8dcc..11aea1777 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -311,7 +311,7 @@ void MutateFlatBuffersTest(uint8_t *flatbuf, std::size_t length) { } // Unpack a FlatBuffer into objects. -void ObjectFlatBuffersTest(uint8_t *flatbuf, std::size_t length) { +void ObjectFlatBuffersTest(uint8_t *flatbuf) { // Turn a buffer into C++ objects. auto monster1 = GetMonster(flatbuf)->UnPack(); @@ -1069,7 +1069,7 @@ int main(int /*argc*/, const char * /*argv*/[]) { MutateFlatBuffersTest(flatbuf.get(), rawbuf.length()); - ObjectFlatBuffersTest(flatbuf.get(), rawbuf.length()); + ObjectFlatBuffersTest(flatbuf.get()); #ifndef FLATBUFFERS_NO_FILE_TESTS ParseAndGenerateTextTest();