Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106522
b: refs/heads/master
c: 09748e1
h: refs/heads/master
v: v3
  • Loading branch information
Sam Ravnborg committed Jul 25, 2008
1 parent f000888 commit 361cbe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd9140e1e73a31fd45f1fd4585260643a2f9ab1d
refs/heads/master: 09748e178b6cb8d3b8a748d0159aa7ad8eadcbe1
11 changes: 3 additions & 8 deletions trunk/scripts/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ static int conf_askvalue(struct symbol *sym, const char *def)
fflush(stdout);
fgets(line, 128, stdin);
return 1;
case set_default:
printf("%s\n", def);
return 1;
default:
break;
}
Expand Down Expand Up @@ -318,10 +315,6 @@ static int conf_choice(struct menu *menu)
else
continue;
break;
case set_default:
cnt = def;
printf("%d\n", cnt);
break;
default:
break;
}
Expand Down Expand Up @@ -589,13 +582,15 @@ int main(int ac, char **av)
case set_random:
conf_set_all_new_symbols(def_random);
break;
case set_default:
conf_set_all_new_symbols(def_default);
break;
case ask_silent:
case ask_new:
if (conf_silent_update())
exit(1);
break;
case ask_all:
case set_default:
if (conf_update())
exit(1);
break;
Expand Down

0 comments on commit 361cbe1

Please sign in to comment.