aboutsummaryrefslogtreecommitdiffstats
path: root/com32/menu
diff options
context:
space:
mode:
Diffstat (limited to 'com32/menu')
-rw-r--r--com32/menu/readconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c
index d4c8848c..c8215a0b 100644
--- a/com32/menu/readconfig.c
+++ b/com32/menu/readconfig.c
@@ -603,9 +603,9 @@ static char *is_fkey(char *cmdstr, int *fkeyno)
static void parse_config_file(FILE * f)
{
char line[MAX_LINE], *p, *ep, ch;
- enum kernel_type type;
- enum message_number msgnr;
- int fkeyno;
+ enum kernel_type type = -1;
+ enum message_number msgnr = -1;
+ int fkeyno = 0;
struct menu *m = current_menu;
while (fgets(line, sizeof line, f)) {