about summary refs log tree commit diff homepage
path: root/lib/Module
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/Module
parent91f5fffbb423f669603f29c323ec635d263f666a (diff)
downloadklee-1527c8a33b05d26fd21d6bac946ff453d225b381.tar.gz
Silenced some warnings about unused variables when assertions are disabled.
Diffstat (limited to 'lib/Module')
-rw-r--r--lib/Module/ModuleUtil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Module/ModuleUtil.cpp b/lib/Module/ModuleUtil.cpp
index a8a87b2c..a86adc98 100644
--- a/lib/Module/ModuleUtil.cpp
+++ b/lib/Module/ModuleUtil.cpp
@@ -522,6 +522,7 @@ Function *klee::getDirectCallTarget(CallSite cs, bool moduleIsFullyLinked) {
 
   // NOTE: This assert may fire, it isn't necessarily a problem and
   // can be disabled, I just wanted to know when and if it happened.
+  (void) viaConstantExpr;
   assert((!viaConstantExpr) &&
          "FIXME: Unresolved direct target for a constant expression");
   return NULL;