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 | 1028cb02108762bdf53240336338350bc881fae1 (patch) | |
tree | 29d504c8272994c07ea5a80b6914fcfef4748d43 /gas/listing.c | |
parent | a08cc784a6a2143e670a435c33c8af248c6706a7 (diff) | |
download | binutils-redhat-1028cb02108762bdf53240336338350bc881fae1.tar.gz |
* 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/listing.c')
-rw-r--r-- | gas/listing.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/listing.c b/gas/listing.c index acda916f1d..1ab0ddef18 100644 --- a/gas/listing.c +++ b/gas/listing.c @@ -978,7 +978,7 @@ debugging_pseudo (list, line) static void listing_listing (name) - char *name; + char *name ATTRIBUTE_UNUSED; { list_info_type *list = head; file_info_type *current_hll_file = (file_info_type *) NULL; @@ -1006,7 +1006,7 @@ listing_listing (name) while (list) { - int list_line; + unsigned int list_line; width = listing_rhs_width > paper_width ? paper_width : listing_rhs_width; @@ -1180,7 +1180,7 @@ listing_file (name) void listing_eject (ignore) - int ignore; + int ignore ATTRIBUTE_UNUSED; { if (listing) listing_tail->edict = EDICT_EJECT; @@ -1188,7 +1188,7 @@ listing_eject (ignore) void listing_flags (ignore) - int ignore; + int ignore ATTRIBUTE_UNUSED; { while ((*input_line_pointer++) && (*input_line_pointer != '\n')) input_line_pointer++; @@ -1261,7 +1261,7 @@ listing_psize (width_only) void listing_nopage (ignore) - int ignore; + int ignore ATTRIBUTE_UNUSED; { paper_height = 0; } |