summaryrefslogtreecommitdiffhomepage
path: root/ir/be/riscv
diff options
context:
space:
mode:
authorAndreas Fried <andreas.fried@kit.edu>2019-01-07 21:41:37 +0100
committerAndreas Fried <andreas.fried@kit.edu>2019-01-07 21:41:37 +0100
commitda0fcd875b2947c6631495fcac338cab7dd5a05a (patch)
tree775570bd6a4ff8fdd7270ef0463d62a11f10d096 /ir/be/riscv
parenta57e9231ae60ad6d776ce480f250e425beb53d14 (diff)
Silence compiler warnings.
Diffstat (limited to 'ir/be/riscv')
-rw-r--r--ir/be/riscv/riscv_emitter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/be/riscv/riscv_emitter.c b/ir/be/riscv/riscv_emitter.c
index 82aaeb4..ce1a046 100644
--- a/ir/be/riscv/riscv_emitter.c
+++ b/ir/be/riscv/riscv_emitter.c
@@ -128,6 +128,7 @@ static void emit_riscv_asm_operand(ir_node const *const node, char const modifie
emit_register(&riscv_registers[REG_ZERO]);
return;
} else {
+ /* fallthrough */
default:
prefix = NULL;
break;