diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-01-13 18:30:57 -0800 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-01-13 18:30:57 -0800 |
commit | 19101826a80b415680738cf3722ee02a0b0c8565 (patch) | |
tree | 5ac4d7ac2c24b8ab9168076d58eb423e7ace7539 /tests | |
parent | 7b94eab2b14be37b2134cdb6cb51a2c30cee89eb (diff) | |
download | flatbuffers-19101826a80b415680738cf3722ee02a0b0c8565.tar.gz flatbuffers-19101826a80b415680738cf3722ee02a0b0c8565.tar.bz2 flatbuffers-19101826a80b415680738cf3722ee02a0b0c8565.zip |
Fix unused field warning in clang.
Change-Id: I71d590a1e5b2709f0e2dcf97faaebda5cb918fc7
Tested: on Linux.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/monster_test_generated.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/monster_test_generated.h b/tests/monster_test_generated.h index 82df66e9..d7c80286 100644 --- a/tests/monster_test_generated.h +++ b/tests/monster_test_generated.h @@ -154,6 +154,7 @@ MANUALLY_ALIGNED_STRUCT(2) Test FLATBUFFERS_FINAL_CLASS { : a_(flatbuffers::EndianScalar(_a)), b_(flatbuffers::EndianScalar(_b)), padding0__(0) { + (void)padding0__; } int16_t a() const { return flatbuffers::EndianScalar(a_); @@ -199,6 +200,7 @@ MANUALLY_ALIGNED_STRUCT(16) Vec3 FLATBUFFERS_FINAL_CLASS { padding1__(0), test3_(_test3), padding2__(0) { + (void)padding0__;(void)padding1__;(void)padding2__; } float x() const { return flatbuffers::EndianScalar(x_); |