projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
419aded
)
fix unused variable warning
author
Chris Lattner
<sabre@nondot.org>
Tue, 28 Jul 2009 16:49:19 +0000
(16:49 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/Target/TargetLoweringObjectFile.cpp
b/lib/Target/TargetLoweringObjectFile.cpp
index b1d9c9a1a18bde5c42eb04346285ab308b4f7620..e3c0dfa562611176fb183bc5d1a2e65d997e3797 100644
(file)
--- 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?