Fixed warnings for unused variables in Visual Studio.
authorWouter van Oortmerssen <wvo@google.com>
Wed, 20 Aug 2014 18:25:58 +0000 (11:25 -0700)
committerWouter 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

index bb68617..7c15b9d 100755 (executable)
@@ -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;
 }