Fix uninitialized variable in recent menu search commit
This commit is contained in:
parent
05da8132d8
commit
d2ee2abde7
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue