commit | adbcc1025ea4be03935508ffbe24d07e3bf50d1d | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Nov 23 15:57:01 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Nov 23 15:57:01 2004 +0000 |
tree | ad69d742af0dd9b625ac18372b7b49652247d252 | |
parent | d7fa35c6d2acc2fe95346b1b9eaa3c0a30342c85 [diff] [blame] |
Squelch a bogus warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18157 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp index 59edf6e..3e7ef3a 100644 --- a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp +++ b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
@@ -142,7 +142,7 @@ // So undo that: give the instruction (CI - PC) / 4 rv = (CI->getRawValue() - MCE.getCurrentPCValue()) / 4; } else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { - unsigned Reloc; + unsigned Reloc = 0; if (MI.getOpcode() == V9::CALL) { Reloc = V9::reloc_pcrel_call; } else if (MI.getOpcode() == V9::SETHI) {