about summary refs log tree commit diff homepage
path: root/lib/Module
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2013-08-28 14:00:36 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2013-08-28 14:00:36 +0100
commitc7874f2ad92a9f26430038f7a9426dec1fe632ea (patch)
tree36f8ee7e39294978134d70ef5f8384380a14cde2 /lib/Module
parent821b6f6473334eaa6c78205603faf14a2c1aca41 (diff)
parent6c445f2b1a1f91ffb301bece325dd5a491922ce1 (diff)
downloadklee-c7874f2ad92a9f26430038f7a9426dec1fe632ea.tar.gz
Merge branch 'CompilerWarnings' of https://github.com/MartinNowack/klee into MartinNowack-CompilerWarnings
Diffstat (limited to 'lib/Module')
-rw-r--r--lib/Module/KModule.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Module/KModule.cpp b/lib/Module/KModule.cpp
index ea86433e..1629bb79 100644
--- a/lib/Module/KModule.cpp
+++ b/lib/Module/KModule.cpp
@@ -390,7 +390,6 @@ void KModule::prepare(const Interpreter::ModuleOptions &opts,
     if (NoTruncateSourceLines) {
       *ros << *module;
     } else {
-      bool truncated = false;
       std::string string;
       llvm::raw_string_ostream rss(string);
       rss << *module;
@@ -409,7 +408,6 @@ void KModule::prepare(const Interpreter::ModuleOptions &opts,
           } else {
             ros->write(position, 254);
             *ros << "\n";
-            truncated = true;
           }
           position = end+1;
         }