commit | 8fb0039ea6d41ffef7ed5c8c2b97603eb07ad67c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jul 28 16:49:19 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jul 28 16:49:19 2009 +0000 |
tree | cc1c1feb21b5f2251c11682c1595592beed85682 | |
parent | 419adedaa1638fbe4e078c997f81e94327ebff5a [diff] [blame] |
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 b1d9c9a..e3c0dfa 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp
@@ -412,7 +412,7 @@ 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?