Cleanup: silent clang-tidy warning NULL vs nullptr.
This commit is contained in:
parent
34370d9fdf
commit
59754ef0b2
|
@ -787,14 +787,14 @@ static MenuSearch_Data *menu_items_from_ui_create(
|
|||
}
|
||||
|
||||
if (region) {
|
||||
BLI_ghash_remove(region->runtime.block_name_map, sub_block->name, NULL, NULL);
|
||||
BLI_ghash_remove(region->runtime.block_name_map, sub_block->name, nullptr, nullptr);
|
||||
BLI_remlink(®ion->uiblocks, sub_block);
|
||||
}
|
||||
UI_block_free(nullptr, sub_block);
|
||||
}
|
||||
}
|
||||
if (region) {
|
||||
BLI_ghash_remove(region->runtime.block_name_map, block->name, NULL, NULL);
|
||||
BLI_ghash_remove(region->runtime.block_name_map, block->name, nullptr, nullptr);
|
||||
BLI_remlink(®ion->uiblocks, block);
|
||||
}
|
||||
UI_block_free(nullptr, block);
|
||||
|
|
Loading…
Reference in New Issue