diff options
author | Hans Goudey <h.goudey@me.com> | 2020-05-06 17:26:59 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-05-06 17:26:59 +0300 |
commit | 3bc3b58e4c55a4d3acaac3a8d99836c6925ea206 (patch) | |
tree | a796273214173810d97df995d52b501717804838 /source/blender/editors/interface | |
parent | 43f601f1c4f4e1c57bea5b91c1c0f826f3b012ff (diff) |
Fix build error after rBb9bb752e0e852d
This looks like a misplaced variable definition, which is then used
out of scope later.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_template_search_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_template_search_menu.c b/source/blender/editors/interface/interface_template_search_menu.c index f619e1f8f8a..7e3b89a28ea 100644 --- a/source/blender/editors/interface/interface_template_search_menu.c +++ b/source/blender/editors/interface/interface_template_search_menu.c @@ -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); |