diff options
author | Andrew Waterman <andrew@sifive.com> | 2022-09-22 17:34:33 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2022-10-04 15:40:01 -0700 |
commit | ce69fb5db97ecf240336b7826dd9dddeb32e5dca (patch) | |
tree | f78647d0eafa9abc414f5ded2a3663c7506cfd9c /riscv/extension.h | |
parent | a51e44ed228e48fc1dbf24ec7dc23cbd61a7874a (diff) | |
download | spike-ce69fb5db97ecf240336b7826dd9dddeb32e5dca.zip spike-ce69fb5db97ecf240336b7826dd9dddeb32e5dca.tar.gz spike-ce69fb5db97ecf240336b7826dd9dddeb32e5dca.tar.bz2 |
Suppress most unused variable warnings
Diffstat (limited to 'riscv/extension.h')
-rw-r--r-- | riscv/extension.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/extension.h b/riscv/extension.h index d1e847d..de6ece3 100644 --- a/riscv/extension.h +++ b/riscv/extension.h @@ -15,7 +15,7 @@ class extension_t virtual std::vector<disasm_insn_t*> get_disasms() = 0; virtual const char* name() = 0; virtual void reset() {}; - virtual void set_debug(bool value) {}; + virtual void set_debug(bool UNUSED value) {} virtual ~extension_t(); void set_processor(processor_t* _p) { p = _p; } |