summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit795b63fb658cfa3efebd63610bbc7c95f9fee5dd (patch)
tree1e3c7d4ddb77d7a163f773cc04a12148c9843562 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parent8ce432e9eb4e8fdf5e68c3d9dd3d358558bcdb18 (diff)
downloadbcm5719-llvm-795b63fb658cfa3efebd63610bbc7c95f9fee5dd.tar.gz
bcm5719-llvm-795b63fb658cfa3efebd63610bbc7c95f9fee5dd.zip
fix unused variable warning
llvm-svn: 77326
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index b1d9c9a1a18..e3c0dfa5626 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/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?
OpenPOWER on IntegriCloud