projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d019b4e
)
Fix unused param warning with ENABLE_NDEBUG.
author
Marcelina Kościelnicka
<mwk@0x04.net>
Sat, 11 Dec 2021 16:17:43 +0000
(17:17 +0100)
committer
Marcelina Kościelnicka
<mwk@0x04.net>
Sun, 12 Dec 2021 00:22:28 +0000
(
01:22
+0100)
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index 073110f16104ae44d3d5c150ea33431ee4387ae6..a562d253c900d22ed6c5ebfab05af5cdc4440192 100644
(file)
--- 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
};