diff options
| author | Nadav Rotem <nrotem@apple.com> | 2012-09-06 11:13:55 +0000 |
|---|---|---|
| committer | Nadav Rotem <nrotem@apple.com> | 2012-09-06 11:13:55 +0000 |
| commit | e757640df0615510dbc42921cf6271aa76c405ee (patch) | |
| tree | 197f43d90e08c1236062398b1ee29bb210681d46 /lib/Target/ARM/ARMFastISel.cpp | |
| parent | a76d7d64a4aa39e459f0807143a95c2a1c046f9f (diff) | |
| download | llvm-e757640df0615510dbc42921cf6271aa76c405ee.tar.gz llvm-e757640df0615510dbc42921cf6271aa76c405ee.tar.bz2 llvm-e757640df0615510dbc42921cf6271aa76c405ee.tar.xz | |
Fix a few old-GCC warnings. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMFastISel.cpp')
| -rw-r--r-- | lib/Target/ARM/ARMFastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 9849cb57d1..045d90424b 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/lib/Target/ARM/ARMFastISel.cpp @@ -2642,7 +2642,7 @@ bool ARMFastISel::SelectShift(const Instruction *I, unsigned Reg1 = getRegForValue(Src1Value); if (Reg1 == 0) return false; - unsigned Reg2; + unsigned Reg2 = 0; if (Opc == ARM::MOVsr) { Reg2 = getRegForValue(Src2Value); if (Reg2 == 0) return false; |
