about summary refs log tree commit diff homepage
path: root/lib/Core/Searcher.cpp
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2018-06-09 19:37:30 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-07-04 22:14:58 +0100
commit54dd6afbae14d4f17a1dee4766331f932d66e117 (patch)
tree4a27b345bae635c75a70ad2b1a2b8d77d7db6658 /lib/Core/Searcher.cpp
parent8f2b9b543b7e226c6ea06917a720452267012c22 (diff)
downloadklee-54dd6afbae14d4f17a1dee4766331f932d66e117.tar.gz
Fix compiler warnings if assertions are disabled
Diffstat (limited to 'lib/Core/Searcher.cpp')
-rw-r--r--lib/Core/Searcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/Searcher.cpp b/lib/Core/Searcher.cpp
index dfeb15de..0c1f4316 100644
--- a/lib/Core/Searcher.cpp
+++ b/lib/Core/Searcher.cpp
@@ -151,6 +151,7 @@ RandomSearcher::update(ExecutionState *current,
                                                      ie = removedStates.end();
        it != ie; ++it) {
     ExecutionState *es = *it;
+    __attribute__((unused))
     bool ok = false;
 
     for (std::vector<ExecutionState*>::iterator it = states.begin(),