Fix build error after rBb9bb752e0e852d

This looks like a misplaced variable definition, which is then used
out of scope later.
This commit is contained in:
Hans Goudey
2020-05-06 10:26:59 -04:00
parent 43f601f1c4
commit 3bc3b58e4c

View File

@@ -370,9 +370,9 @@ static struct MenuSearch_Data *menu_items_from_ui_create(
/* Types match, cycle the subtype. */
PropertyRNA *prop_ui_type = NULL;
if (include_all_areas) {
/* First create arrays for ui_type. */
PropertyRNA *prop_ui_type;
{
PointerRNA ptr;
RNA_pointer_create(NULL, &RNA_Area, NULL, &ptr);