mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
Fix a use of an uninitialised variable in the bfd linker.
PR 27050 * lexsup.c (parse_args): Ensure that the longind local variable is set.
This commit is contained in:
parent
6abe7848fa
commit
3991c7acb2
@ -1,3 +1,9 @@
|
||||
2020-12-14 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 27050
|
||||
* lexsup.c (parse_args): Ensure that the longind local variable is
|
||||
set.
|
||||
|
||||
2020-12-14 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 27064
|
||||
|
@ -718,7 +718,7 @@ parse_args (unsigned argc, char **argv)
|
||||
last_optind = -1;
|
||||
while (1)
|
||||
{
|
||||
int longind;
|
||||
int longind = 0;
|
||||
int optc;
|
||||
static unsigned int defsym_count;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user