scripts: kconfig: fix jump initialization
authorStricted <info@stricted.net>
Fri, 16 Mar 2018 11:36:42 +0000 (12:36 +0100)
committerStricted <info@stricted.net>
Mon, 19 Mar 2018 16:45:55 +0000 (17:45 +0100)
scripts/kconfig/menu.c

index fd3f0180e08fbafb537e128c9e46641288c68774..bea100b245c8d3848edcac722c4351fd9fa834c5 100644 (file)
@@ -525,7 +525,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
 {
        int i, j;
        struct menu *submenu[8], *menu, *location = NULL;
-       struct jump_key *jump;
+       struct jump_key *jump = NULL;
 
        str_printf(r, _("Prompt: %s\n"), _(prop->text));
        menu = prop->menu->parent;