fix unused variable warning
authorChris Lattner <sabre@nondot.org>
Tue, 28 Jul 2009 16:49:19 +0000 (16:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 28 Jul 2009 16:49:19 +0000 (16:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77326 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetLoweringObjectFile.cpp

index b1d9c9a1a18bde5c42eb04346285ab308b4f7620..e3c0dfa562611176fb183bc5d1a2e65d997e3797 100644 (file)
@@ -412,7 +412,7 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
   
   if (Kind.isText()) return TextSection;
   if (Kind.isMergeableCString()) {
-    Constant *C = cast<GlobalVariable>(GV)->getInitializer();
+    //Constant *C = cast<GlobalVariable>(GV)->getInitializer();
     
     // FIXME: This is completely wrong.  Why is it comparing the size of the
     // character type to 1?