mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 01:07:05 +00:00
Fixed warnings for unused variables in Visual Studio.
Change-Id: I51eeed20c3e0a4914280bf33585ca03b9a9952aa Tested: on Windows.
This commit is contained in:
@@ -54,9 +54,11 @@ int main(int /*argc*/, const char * /*argv*/[]) {
|
|||||||
auto pos = monster->pos();
|
auto pos = monster->pos();
|
||||||
assert(pos);
|
assert(pos);
|
||||||
assert(pos->z() == 3);
|
assert(pos->z() == 3);
|
||||||
|
(void)pos;
|
||||||
|
|
||||||
auto inv = monster->inventory();
|
auto inv = monster->inventory();
|
||||||
assert(inv);
|
assert(inv);
|
||||||
assert(inv->Get(9) == 9);
|
assert(inv->Get(9) == 9);
|
||||||
|
(void)inv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user