From 8fb0039ea6d41ffef7ed5c8c2b97603eb07ad67c 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77326 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/TargetLoweringObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index b1d9c9a1a18..e3c0dfa5626 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/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?