projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ba7fd
)
Fixed warnings for unused variables in Visual Studio.
author
Wouter van Oortmerssen
<wvo@google.com>
Wed, 20 Aug 2014 18:25:58 +0000
(11:25 -0700)
committer
Wouter van Oortmerssen
<wvo@google.com>
Wed, 20 Aug 2014 18:25:58 +0000
(11:25 -0700)
Change-Id: I51eeed20c3e0a4914280bf33585ca03b9a9952aa
Tested: on Windows.
samples/sample_binary.cpp
patch
|
blob
|
history
diff --git
a/samples/sample_binary.cpp
b/samples/sample_binary.cpp
index
bb68617
..
7c15b9d
100755
(executable)
--- a/
samples/sample_binary.cpp
+++ b/
samples/sample_binary.cpp
@@
-54,9
+54,11
@@
int main(int /*argc*/, const char * /*argv*/[]) {
auto pos = monster->pos();
assert(pos);
assert(pos->z() == 3);
+ (void)pos;
auto inv = monster->inventory();
assert(inv);
assert(inv->Get(9) == 9);
+ (void)inv;
}