diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-23 15:56:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-23 15:56:38 +0000 |
commit | d7fa35c6d2acc2fe95346b1b9eaa3c0a30342c85 (patch) | |
tree | 1eafc7848f2a9b9badba719b3d37a9da26265833 /lib/Target | |
parent | dd30751654aaa85efa9dbe2f610a90f38a248800 (diff) | |
download | external_llvm-d7fa35c6d2acc2fe95346b1b9eaa3c0a30342c85.zip external_llvm-d7fa35c6d2acc2fe95346b1b9eaa3c0a30342c85.tar.gz external_llvm-d7fa35c6d2acc2fe95346b1b9eaa3c0a30342c85.tar.bz2 |
Squelch a bogus warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/PowerPC/PPCCodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp index 6ecbb13..ef8ec6c 100644 --- a/lib/Target/PowerPC/PPCCodeEmitter.cpp +++ b/lib/Target/PowerPC/PPCCodeEmitter.cpp @@ -194,7 +194,7 @@ int PPC32CodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) { } else if (MO.isImmediate()) { rv = MO.getImmedValue(); } else if (MO.isGlobalAddress()) { - unsigned Reloc; + unsigned Reloc = 0; if (MI.getOpcode() == PPC::CALLpcrel) Reloc = PPC::reloc_pcrel_bx; else if (MI.getOpcode() == PPC::LOADHiAddr) { |