Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")
This shows the text as part of the assertion message.
This commit is contained in:
@@ -670,7 +670,7 @@ static ARegion *do_versions_find_region(ListBase *regionbase, int regiontype)
|
||||
{
|
||||
ARegion *region = do_versions_find_region_or_null(regionbase, regiontype);
|
||||
if (region == NULL) {
|
||||
BLI_assert(!"Did not find expected region in versioning");
|
||||
BLI_assert_msg(0, "Did not find expected region in versioning");
|
||||
}
|
||||
return region;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user