From: Alan Modra Date: Thu, 5 Feb 2015 06:50:38 +0000 (+1030) Subject: Don't refer to optarg in dwarf.c function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cc78d0780858b2f4a76c2867351cbfbb339c327;p=binutils-gdb.git Don't refer to optarg in dwarf.c function This one is passed in optarg as its argument. PR binutils/17926 * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d5cec775a0e..5182809c1a4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2015-02-05 Alan Modra + + PR binutils/17926 + * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg. + 2015-02-04 Nick Clifton PR binutils/17531 diff --git a/binutils/dwarf.c b/binutils/dwarf.c index b65bb7b8ea0..aa197256325 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -7414,7 +7414,7 @@ dwarf_select_sections_by_letters (const char *letters) break; default: - warn (_("Unrecognized debug option '%s'\n"), optarg); + warn (_("Unrecognized debug option '%s'\n"), letters); break; } }