aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMarcelina Koƛcielnicka <mwk@0x04.net>2021-12-11 17:17:43 +0100
committerMarcelina Koƛcielnicka <mwk@0x04.net>2021-12-12 01:22:28 +0100
commit26f0f6bb0b7fa25661f7993a5c218bbe8bc5a4ec (patch)
tree608518468771d619aac1df92c6850cce951747d8 /kernel
parentd019b4e6810bce37bd3477bb365288cae2a572b2 (diff)
downloadyosys-26f0f6bb0b7fa25661f7993a5c218bbe8bc5a4ec.tar.gz
yosys-26f0f6bb0b7fa25661f7993a5c218bbe8bc5a4ec.tar.bz2
yosys-26f0f6bb0b7fa25661f7993a5c218bbe8bc5a4ec.zip
Fix unused param warning with ENABLE_NDEBUG.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rtlil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 073110f16..a562d253c 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -970,7 +970,7 @@ public:
#ifndef NDEBUG
void check(Module *mod = nullptr) const;
#else
- void check(Module *mod = nullptr) const { }
+ void check(Module *mod = nullptr) const { (void)mod; }
#endif
};