about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorMartin Nowack <martin.nowack@gmail.com>2013-08-27 22:06:51 +0200
committerMartin Nowack <martin.nowack@gmail.com>2013-08-28 08:54:50 +0200
commit6c445f2b1a1f91ffb301bece325dd5a491922ce1 (patch)
tree3b560fe3f2d12a30aa9186eb8fbf185609e8bd7a /lib
parent1f0255ab650b59ef8acafb57b23900f7d89046f7 (diff)
downloadklee-6c445f2b1a1f91ffb301bece325dd5a491922ce1.tar.gz
Fixed warning about unused variable
Diffstat (limited to 'lib')
-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;
         }