mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
fix unused variable warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
419adedaa1
commit
8fb0039ea6
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user