diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-28 16:49:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-28 16:49:19 +0000 |
commit | 795b63fb658cfa3efebd63610bbc7c95f9fee5dd (patch) | |
tree | 1e3c7d4ddb77d7a163f773cc04a12148c9843562 /llvm/lib/Target/TargetLoweringObjectFile.cpp | |
parent | 8ce432e9eb4e8fdf5e68c3d9dd3d358558bcdb18 (diff) | |
download | bcm5719-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.cpp | 2 |
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? |