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-03 19:58:16 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2017-10-03 19:58:16 +0100
commit1527c8a33b05d26fd21d6bac946ff453d225b381 (patch)
treebeb6093bc7c21b7b377559c536d6ff4d57563a46 /lib/Core/Searcher.cpp
parent91f5fffbb423f669603f29c323ec635d263f666a (diff)
downloadklee-1527c8a33b05d26fd21d6bac946ff453d225b381.tar.gz
Silenced some warnings about unused variables when assertions are disabled.
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");
     }
   }