From 6c445f2b1a1f91ffb301bece325dd5a491922ce1 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Tue, 27 Aug 2013 22:06:51 +0200 Subject: Fixed warning about unused variable --- lib/Module/KModule.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Module/KModule.cpp') 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; } -- cgit 1.4.1