This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: comment ld/lexsup.c
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: binutils at sourceware dot org
- Date: Tue, 24 Oct 2006 13:35:31 +1000
- Subject: PATCH: comment ld/lexsup.c
I'm committing this as obvious. I found the comment useful :-).
Ben
2006-10-24 Ben Elliston <bje@au.ibm.com>
* lexsup.c (parse_args): Add a comment noting a fall-through.
Index: lexsup.c
===================================================================
RCS file: /cvs/src/src/ld/lexsup.c,v
retrieving revision 1.90
diff -u -r1.90 lexsup.c
--- lexsup.c 16 Sep 2006 18:12:16 -0000 1.90
+++ lexsup.c 24 Oct 2006 03:33:23 -0000
@@ -680,6 +680,8 @@
{
case '?':
einfo (_("%P: unrecognized option '%s'\n"), argv[last_optind]);
+ /* Fall through. */
+
default:
einfo (_("%P%F: use the --help option for usage information\n"));