Fixed unused parameter warning.

Change-Id: I7a2576c6f366b89ef3e1f83941f90294ca7a07fd
This commit is contained in:
Wouter van Oortmerssen 2016-07-20 17:52:41 -07:00
parent 370e101a69
commit e067040375
1 changed files with 2 additions and 2 deletions

View File

@ -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();