aboutsummaryrefslogtreecommitdiff
path: root/riscv/rocc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/rocc.cc')
-rw-r--r--riscv/rocc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/rocc.cc b/riscv/rocc.cc
index f50934f..f0dd0b2 100644
--- a/riscv/rocc.cc
+++ b/riscv/rocc.cc
@@ -18,7 +18,7 @@
return pc+4; \
} \
\
- reg_t rocc_t::custom##n(rocc_insn_t insn, reg_t xs1, reg_t xs2) \
+ reg_t rocc_t::custom##n(rocc_insn_t UNUSED insn, reg_t UNUSED xs1, reg_t UNUSED xs2) \
{ \
illegal_instruction(); \
return 0; \