mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Fix unused param warning with ENABLE_NDEBUG.
This commit is contained in:
+1
-1
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user