Fix uninitialized variable in recent menu search commit

This commit is contained in:
Campbell Barton 2020-05-07 10:46:48 +10:00
parent 05da8132d8
commit d2ee2abde7
1 changed files with 1 additions and 1 deletions

View File

@ -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. */