diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2011-05-31 12:30:26 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2011-06-06 15:32:10 -0400 |
commit | d8fc320079b46cf462897148f48d4a63f37f56ce (patch) | |
tree | 739c77444b846363467bf81633973c1eec0d0bad /scripts/kconfig/conf.c | |
parent | 55922c9d1b84b89cb946c777fddccb3247e7df2c (diff) |
kconfig: annotate non-trivial fall-trough
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r-- | scripts/kconfig/conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 006ad817cd5f..6d2e936f3b67 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
@@ -106,6 +106,7 @@ static int conf_askvalue(struct symbol *sym, const char *def) | |||
106 | return 0; | 106 | return 0; |
107 | } | 107 | } |
108 | check_stdin(); | 108 | check_stdin(); |
109 | /* fall through */ | ||
109 | case oldaskconfig: | 110 | case oldaskconfig: |
110 | fflush(stdout); | 111 | fflush(stdout); |
111 | xfgets(line, 128, stdin); | 112 | xfgets(line, 128, stdin); |
@@ -150,6 +151,7 @@ static int conf_string(struct menu *menu) | |||
150 | def = NULL; | 151 | def = NULL; |
151 | break; | 152 | break; |
152 | } | 153 | } |
154 | /* fall through */ | ||
153 | default: | 155 | default: |
154 | line[strlen(line)-1] = 0; | 156 | line[strlen(line)-1] = 0; |
155 | def = line; | 157 | def = line; |
@@ -304,6 +306,7 @@ static int conf_choice(struct menu *menu) | |||
304 | break; | 306 | break; |
305 | } | 307 | } |
306 | check_stdin(); | 308 | check_stdin(); |
309 | /* fall through */ | ||
307 | case oldaskconfig: | 310 | case oldaskconfig: |
308 | fflush(stdout); | 311 | fflush(stdout); |
309 | xfgets(line, 128, stdin); | 312 | xfgets(line, 128, stdin); |
@@ -369,6 +372,7 @@ static void conf(struct menu *menu) | |||
369 | check_conf(menu); | 372 | check_conf(menu); |
370 | return; | 373 | return; |
371 | } | 374 | } |
375 | /* fall through */ | ||
372 | case P_COMMENT: | 376 | case P_COMMENT: |
373 | prompt = menu_get_prompt(menu); | 377 | prompt = menu_get_prompt(menu); |
374 | if (prompt) | 378 | if (prompt) |