[Reproducers] Fix warnings without asserts
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 6 Mar 2019 00:52:48 +0000 (00:52 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 6 Mar 2019 00:52:48 +0000 (00:52 +0000)
Make sure the variable is used when asserts are compiled out.

llvm-svn: 355464

lldb/include/lldb/Utility/ReproducerInstrumentation.h

index f10398e..ac67899 100644 (file)
@@ -261,6 +261,7 @@ public:
   void HandleReplayResultVoid() {
     unsigned result = Deserialize<unsigned>();
     assert(result == 0);
+    (void)result;
   }
 
 private: