Cleanup: silent clang-tidy warning NULL vs nullptr.

This commit is contained in:
Jeroen Bakker 2021-11-23 08:39:26 +01:00
parent 34370d9fdf
commit 59754ef0b2
1 changed files with 2 additions and 2 deletions

View File

@ -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(&region->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(&region->uiblocks, block);
}
UI_block_free(nullptr, block);