aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-28 16:49:19 +0000
committerChris Lattner <sabre@nondot.org>2009-07-28 16:49:19 +0000
commit8fb0039ea6d41ffef7ed5c8c2b97603eb07ad67c (patch)
treecc1c1feb21b5f2251c11682c1595592beed85682 /lib/Target/TargetLoweringObjectFile.cpp
parent419adedaa1638fbe4e078c997f81e94327ebff5a (diff)
fix unused variable warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp
index b1d9c9a1a1..e3c0dfa562 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<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?