This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] lexsup.c (parse_args): Add break at end of default case.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=80bb3407f6891aff5dbed5b2fd5c3dae8f227319

commit 80bb3407f6891aff5dbed5b2fd5c3dae8f227319
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Nov 14 08:59:23 2016 +0000

      lexsup.c (parse_args): Add break at end of default case.

Diff:
---
 ld/ChangeLog | 4 ++++
 ld/lexsup.c  | 1 +
 2 files changed, 5 insertions(+)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index e1cdb05..e027201 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-14  Nick Clifton  <nickc@redhat.com>
+
+	* lexsup.c (parse_args): Add break at end of default case.
+
 2016-11-10  Jiong Wang  <jiong.wang@arm.com>
 
 	PR target/20737
diff --git a/ld/lexsup.c b/ld/lexsup.c
index d39f848..fb0b47f 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -707,6 +707,7 @@ parse_args (unsigned argc, char **argv)
 
 	default:
 	  einfo (_("%P%F: use the --help option for usage information\n"));
+	  break;
 
 	case 1:			/* File name.  */
 	  lang_add_input_file (optarg, lang_input_file_is_file_enum, NULL);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]