about summary refs log tree commit diff homepage
path: root/lib/Core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Core')
-rw-r--r--lib/Core/ImpliedValue.cpp2
-rw-r--r--lib/Core/Searcher.cpp2
2 files changed, 3 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;
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");
     }
   }