File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ static int conf_sym(struct menu *menu)
446446 }
447447}
448448
449- static int conf_choice (struct menu * menu )
449+ static void conf_choice (struct menu * menu )
450450{
451451 struct symbol * sym , * def_sym ;
452452 struct menu * child ;
@@ -459,19 +459,18 @@ static int conf_choice(struct menu *menu)
459459 sym_calc_value (sym );
460460 switch (sym_get_tristate_value (sym )) {
461461 case no :
462- return 1 ;
463462 case mod :
464- return 0 ;
463+ return ;
465464 case yes :
466465 break ;
467466 }
468467 } else {
469468 switch (sym_get_tristate_value (sym )) {
470469 case no :
471- return 1 ;
470+ return ;
472471 case mod :
473472 printf ("%*s%s\n" , indent - 1 , "" , menu_get_prompt (menu ));
474- return 0 ;
473+ return ;
475474 case yes :
476475 break ;
477476 }
@@ -551,7 +550,7 @@ static int conf_choice(struct menu *menu)
551550 continue ;
552551 }
553552 sym_set_tristate_value (child -> sym , yes );
554- return 1 ;
553+ return ;
555554 }
556555}
557556
You can’t perform that action at this time.
0 commit comments