From 1fba01bbcdfa297407324debb22db1532b21113c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 30 Apr 2009 00:24:33 +0000 Subject: remove progname which is never set. PR4085 llvm-svn: 70453 --- llvm/lib/Target/CppBackend/CPPBackend.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp') diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index 849284e8d8c..ffb805691fa 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -94,7 +94,6 @@ namespace { /// CppWriter - This class is the main chunk of code that converts an LLVM /// module to a C++ translation unit. class CppWriter : public ModulePass { - const char* progname; raw_ostream &Out; const Module *TheModule; uint64_t uniqueNum; @@ -218,7 +217,7 @@ namespace { } void CppWriter::error(const std::string& msg) { - cerr << progname << ": " << msg << "\n"; + cerr << msg << "\n"; exit(2); } -- cgit v1.2.3