mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 04:58:57 +00:00
Fixed unused variable warnings, and made sure they are on.
Tested on Linux. Change-Id: Ie18d6857f9ae8b1c3953a116203b4a8bb70a2ede
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user