Fixed unused parameter warning.
Change-Id: I7a2576c6f366b89ef3e1f83941f90294ca7a07fd
This commit is contained in:
parent
370e101a69
commit
e067040375
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue