public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] kconfig/conf: kill deadcode
@ 2010-12-05  6:52 Arnaud Lacombe
  2010-12-05  6:52 ` [PATCH 2/2] kconfig/conf: add command line options' description Arnaud Lacombe
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Arnaud Lacombe @ 2010-12-05  6:52 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Arnaud Lacombe

This is likely to break the swith statement if the one of the enum member ever
reach 63 ('?').

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
 scripts/kconfig/conf.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 8e33aa7..057f49a 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -503,10 +503,6 @@ int main(int ac, char **av)
 			srand(seed);
 			break;
 		}
-		case '?':
-			fprintf(stderr, _("See README for usage info\n"));
-			exit(1);
-			break;
 		}
 	}
 	if (ac == optind) {
-- 
1.7.2.30.gc37d7.dirty


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-15 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-05  6:52 [PATCH 1/2] kconfig/conf: kill deadcode Arnaud Lacombe
2010-12-05  6:52 ` [PATCH 2/2] kconfig/conf: add command line options' description Arnaud Lacombe
2010-12-05  6:56   ` Arnaud Lacombe
2010-12-15  6:28   ` Arnaud Lacombe
2010-12-15  6:23 ` [PATCH 1/2] kconfig/conf: kill deadcode Arnaud Lacombe
2010-12-15 13:58 ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox