mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
lm32: fix build breakage due to uninitialized variable 'r'
gcc 4.5.2 correctly complains that r is potentially uninitialized in this function. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
2d56a546a7
commit
7f7454ec29
@ -163,7 +163,7 @@ static int pfpu_decode_insn(MilkymistPFPUState *s)
|
||||
uint32_t reg_b = (insn >> 11) & 0x7f;
|
||||
uint32_t op = (insn >> 7) & 0xf;
|
||||
uint32_t reg_d = insn & 0x7f;
|
||||
uint32_t r;
|
||||
uint32_t r = 0;
|
||||
int latency = 0;
|
||||
|
||||
switch (op) {
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit cc975646af69f279396d4d5e1379ac6af80ee637
|
||||
Subproject commit 06d0bdd9e2e20377b3180e4986b14c8549b393e4
|
Loading…
Reference in New Issue
Block a user