From: Chris Lattner Date: Tue, 28 Jul 2009 16:49:19 +0000 (+0000) Subject: fix unused variable warning X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8fb0039ea6d41ffef7ed5c8c2b97603eb07ad67c;p=oota-llvm.git fix unused variable warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77326 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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?