mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Fix unused param warning with ENABLE_NDEBUG.
This commit is contained in:
parent
d019b4e681
commit
26f0f6bb0b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue