diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-07 03:46:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-07 03:46:48 +0300 |
commit | d2ee2abde7e8015ea2c7432f351be60eb83ed39e (patch) | |
tree | 3c6d1cb8dc73576cf0cd4b28f6cae7d709f17763 | |
parent | 05da8132d8f721fe550bfd0d6553f8bb8d45760f (diff) |
Fix uninitialized variable in recent menu search commit
-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 7e3b89a28ea..1bfdd78e26e 100644 --- a/source/blender/editors/interface/interface_template_search_menu.c +++ b/source/blender/editors/interface/interface_template_search_menu.c @@ -365,7 +365,7 @@ static struct MenuSearch_Data *menu_items_from_ui_create( struct MenuSearch_Context *wm_contexts = NULL; const EnumPropertyItem *space_type_ui_items = NULL; - int space_type_ui_items_len; + int space_type_ui_items_len = 0; bool space_type_ui_items_free = false; /* Types match, cycle the subtype. */ |