diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:20:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:20:04 +0000 |
commit | ab9da554193906c4406d4d5eadfc24ea8f521558 (patch) | |
tree | 77c3d4f23c655a31a54e39196741eeab8a094dd0 /gas/symbols.c | |
parent | 85e5d57188f418c0517892818a40b0806c5659c3 (diff) | |
download | gdb-ab9da554193906c4406d4d5eadfc24ea8f521558.zip gdb-ab9da554193906c4406d4d5eadfc24ea8f521558.tar.gz gdb-ab9da554193906c4406d4d5eadfc24ea8f521558.tar.bz2 |
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations. Add variable
initializations. Add casts.
* dwarf2dbg.c (print_stats): Change i to size_t.
* listing.c (listing_listing): Change list_line to unsigned int.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r-- | gas/symbols.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index dae202f..49cf3d9 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -771,7 +771,7 @@ symbol_insert (addme, target, rootPP, lastPP) symbolS *addme; symbolS *target; symbolS **rootPP; - symbolS **lastPP; + symbolS **lastPP ATTRIBUTE_UNUSED; { if (LOCAL_SYMBOL_CHECK (addme)) abort (); @@ -1190,7 +1190,7 @@ static void resolve_local_symbol PARAMS ((const char *, PTR)); static void resolve_local_symbol (key, value) - const char *key; + const char *key ATTRIBUTE_UNUSED; PTR value; { if (value != NULL) |