Codechange: Suppress warnings when asserts are disabled (#8917)
This commit is contained in:
@@ -54,6 +54,7 @@ bool VehicleListIdentifier::UnpackIfValid(uint32 data)
|
||||
{
|
||||
VehicleListIdentifier result;
|
||||
bool ret = result.UnpackIfValid(data);
|
||||
(void)ret; // assert only
|
||||
assert(ret);
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user