about summary refs log tree commit diff homepage
path: root/lib/Core/Searcher.cpp
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-10-04 13:32:56 +0100
committerGitHub <noreply@github.com>2017-10-04 13:32:56 +0100
commitafb9326f7437c9eeaa2617c589312263bc7a14ba (patch)
tree52f7aaeaba5efb3f7825536a7222863bc60b2fb0 /lib/Core/Searcher.cpp
parent9dd7fb2e56338f891da916c68b8b69c7c2a91ed8 (diff)
parentb7f50f1db9d51483bd937b81484c14321c0c7d22 (diff)
downloadklee-afb9326f7437c9eeaa2617c589312263bc7a14ba.tar.gz
Merge pull request #761 from ccadar/misc
Silenced some warnings about unused variables when assertions are dis…
Diffstat (limited to 'lib/Core/Searcher.cpp')
-rw-r--r--lib/Core/Searcher.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Core/Searcher.cpp b/lib/Core/Searcher.cpp
index b9f22538..fc61ab98 100644
--- a/lib/Core/Searcher.cpp
+++ b/lib/Core/Searcher.cpp
@@ -84,6 +84,7 @@ void DFSSearcher::update(ExecutionState *current,
         }
       }
 
+      (void) ok;
       assert(ok && "invalid state removed");
     }
   }
@@ -129,6 +130,7 @@ void BFSSearcher::update(ExecutionState *current,
         }
       }
 
+      (void) ok;
       assert(ok && "invalid state removed");
     }
   }