From 795b63fb658cfa3efebd63610bbc7c95f9fee5dd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 28 Jul 2009 16:49:19 +0000 Subject: [PATCH] fix unused variable warning llvm-svn: 77326 --- llvm/lib/Target/TargetLoweringObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp index b1d9c9a..e3c0dfa 100644 --- a/llvm/lib/Target/TargetLoweringObjectFile.cpp +++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp @@ -412,7 +412,7 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, if (Kind.isText()) return TextSection; if (Kind.isMergeableCString()) { - Constant *C = cast(GV)->getInitializer(); + //Constant *C = cast(GV)->getInitializer(); // FIXME: This is completely wrong. Why is it comparing the size of the // character type to 1? -- 2.7.4