forked from mirror/OpenTTD
Codechange: Suppress warnings when asserts are disabled (#8917)
This commit is contained in:
@@ -240,6 +240,7 @@ public:
|
||||
void Pop(Titem_ &item)
|
||||
{
|
||||
bool ret = TryPop(item);
|
||||
(void)ret; // assert only
|
||||
assert(ret);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user