about summary refs log tree commit diff homepage
path: root/lib/Core/ImpliedValue.cpp
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-10-03 19:58:16 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2017-10-03 19:58:16 +0100
commit1527c8a33b05d26fd21d6bac946ff453d225b381 (patch)
treebeb6093bc7c21b7b377559c536d6ff4d57563a46 /lib/Core/ImpliedValue.cpp
parent91f5fffbb423f669603f29c323ec635d263f666a (diff)
downloadklee-1527c8a33b05d26fd21d6bac946ff453d225b381.tar.gz
Silenced some warnings about unused variables when assertions are disabled.
Diffstat (limited to 'lib/Core/ImpliedValue.cpp')
-rw-r--r--lib/Core/ImpliedValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/ImpliedValue.cpp b/lib/Core/ImpliedValue.cpp
index c8342df1..90000683 100644
--- a/lib/Core/ImpliedValue.cpp
+++ b/lib/Core/ImpliedValue.cpp
@@ -231,7 +231,7 @@ void ImpliedValue::checkForImpliedValues(Solver *S, ref<Expr> e,
          ie = reads.end(); i != ie; ++i) {
     ref<ReadExpr> var = *i;
     ref<ConstantExpr> possible;
-    bool success = S->getValue(Query(assume, var), possible);
+    bool success = S->getValue(Query(assume, var), possible); (void) success;
     assert(success && "FIXME: Unhandled solver failure");    
     std::map<ref<ReadExpr>, ref<ConstantExpr> >::iterator it = found.find(var);
     bool res;