Fix unused param warning with ENABLE_NDEBUG.

This commit is contained in:
Marcelina Kościelnicka
2021-12-12 01:22:28 +01:00
parent d019b4e681
commit 26f0f6bb0b
+1 -1
View File
@@ -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
};