From 80bb3407f6891aff5dbed5b2fd5c3dae8f227319 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 14 Nov 2016 08:59:23 +0000 Subject: [PATCH] lexsup.c (parse_args): Add break at end of default case. --- ld/ChangeLog | 4 ++++ ld/lexsup.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index e1cdb05dbcd..e027201188f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2016-11-14 Nick Clifton + + * lexsup.c (parse_args): Add break at end of default case. + 2016-11-10 Jiong Wang PR target/20737 diff --git a/ld/lexsup.c b/ld/lexsup.c index d39f8489ae0..fb0b47f24e4 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); -- 2.30.2