From: Arnaud Lacombe <lacombar@gmail.com>
To: linux-kbuild@vger.kernel.org
Cc: Arnaud Lacombe <lacombar@gmail.com>
Subject: [PATCH 1/2] kconfig/conf: kill deadcode
Date: Sun, 5 Dec 2010 01:52:14 -0500 [thread overview]
Message-ID: <1291531935-6183-1-git-send-email-lacombar@gmail.com> (raw)
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
next reply other threads:[~2010-12-05 6:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 6:52 Arnaud Lacombe [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1291531935-6183-1-git-send-email-lacombar@gmail.com \
--to=lacombar@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox