mirror of https://github.com/YosysHQ/yosys.git
Fix unused param warning with ENABLE_NDEBUG.
This commit is contained in:
parent
d019b4e681
commit
26f0f6bb0b
|
@ -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…
Reference in New Issue