Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.
This commit is contained in:
parent
01fe1b4183
commit
91d6fa6a03
228 changed files with 4810 additions and 4648 deletions
|
@ -1,6 +1,6 @@
|
|||
/* coffgrok.c
|
||||
Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2007
|
||||
Free Software Foundation, Inc.
|
||||
Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
|
||||
2007, 2009 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Binutils.
|
||||
|
||||
|
@ -96,10 +96,11 @@ empty_symbol (void)
|
|||
|
||||
/*int l;*/
|
||||
static void
|
||||
push_scope (int link)
|
||||
push_scope (int slink)
|
||||
{
|
||||
struct coff_scope *n = empty_scope ();
|
||||
if (link)
|
||||
|
||||
if (slink)
|
||||
{
|
||||
if (top_scope)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue