Fixed unused variable warnings, and made sure they are on.

Tested on Linux.

Change-Id: Ie18d6857f9ae8b1c3953a116203b4a8bb70a2ede
This commit is contained in:
Wouter van Oortmerssen
2016-10-17 13:06:11 -07:00
parent b5c622762b
commit 606098cac8
2 changed files with 6 additions and 2 deletions

View File

@@ -319,9 +319,12 @@ void ObjectFlatBuffersTest(uint8_t *flatbuf) {
// and such.
auto resolver = flatbuffers::resolver_function_t([](void **pointer_adr,
flatbuffers::hash_value_t hash) {
(void)pointer_adr;
(void)hash;
// Don't actually do anything, leave variable null.
});
auto rehasher = flatbuffers::rehasher_function_t([](void *pointer) {
(void)pointer;
return 0;
});