aboutsummaryrefslogtreecommitdiffstats
path: root/hw/milkymist-pfpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-pfpu.c')
-rw-r--r--hw/milkymist-pfpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-pfpu.c b/hw/milkymist-pfpu.c
index 4831e00b8..94e631510 100644
--- a/hw/milkymist-pfpu.c
+++ b/hw/milkymist-pfpu.c
@@ -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) {