File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ static int conf_sym(struct menu *menu)
446
446
}
447
447
}
448
448
449
- static int conf_choice (struct menu * menu )
449
+ static void conf_choice (struct menu * menu )
450
450
{
451
451
struct symbol * sym , * def_sym ;
452
452
struct menu * child ;
@@ -459,19 +459,18 @@ static int conf_choice(struct menu *menu)
459
459
sym_calc_value (sym );
460
460
switch (sym_get_tristate_value (sym )) {
461
461
case no :
462
- return 1 ;
463
462
case mod :
464
- return 0 ;
463
+ return ;
465
464
case yes :
466
465
break ;
467
466
}
468
467
} else {
469
468
switch (sym_get_tristate_value (sym )) {
470
469
case no :
471
- return 1 ;
470
+ return ;
472
471
case mod :
473
472
printf ("%*s%s\n" , indent - 1 , "" , menu_get_prompt (menu ));
474
- return 0 ;
473
+ return ;
475
474
case yes :
476
475
break ;
477
476
}
@@ -551,7 +550,7 @@ static int conf_choice(struct menu *menu)
551
550
continue ;
552
551
}
553
552
sym_set_tristate_value (child -> sym , yes );
554
- return 1 ;
553
+ return ;
555
554
}
556
555
}
557
556
You can’t perform that action at this time.
0 commit comments