From 26f0f6bb0b7fa25661f7993a5c218bbe8bc5a4ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcelina=20Ko=C5=9Bcielnicka?= Date: Sat, 11 Dec 2021 17:17:43 +0100 Subject: [PATCH] Fix unused param warning with ENABLE_NDEBUG. --- kernel/rtlil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- 2.30.2