From ce69fb5db97ecf240336b7826dd9dddeb32e5dca Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 22 Sep 2022 17:34:33 -0700 Subject: Suppress most unused variable warnings --- customext/dummy_rocc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'customext/dummy_rocc.cc') diff --git a/customext/dummy_rocc.cc b/customext/dummy_rocc.cc index 85ab7aa..5afa56a 100644 --- a/customext/dummy_rocc.cc +++ b/customext/dummy_rocc.cc @@ -7,7 +7,7 @@ class dummy_rocc_t : public rocc_t public: const char* name() { return "dummy_rocc"; } - reg_t custom0(rocc_insn_t insn, reg_t xs1, reg_t xs2) + reg_t custom0(rocc_insn_t insn, reg_t xs1, reg_t UNUSED xs2) { reg_t prev_acc = acc[insn.rs2]; -- cgit v1.1