diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:02:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:02:30 +0000 |
commit | b4c96d0d372cd69f536cb481d0c9554cf9f0eda8 (patch) | |
tree | f1493951e1d44b983758309afb226a00bb058edc /binutils/arsup.c | |
parent | 7442e600c8d771f2d03c6df7415bbfcbf99759b6 (diff) | |
download | gdb-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.zip gdb-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.tar.gz gdb-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.tar.bz2 |
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Add variable initializations. Add casts.
* objdump.c (disassemble_bytes): Change j to bfd_vma.
* readelf.c (process_syminfo): Change i to unsigned int.
(display_debug_info): Change abbrev_number to unsigned long.
(process_mips_specific): Change fcnt to size_t.
Diffstat (limited to 'binutils/arsup.c')
-rw-r--r-- | binutils/arsup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/binutils/arsup.c b/binutils/arsup.c index 38fd695..d6809fc 100644 --- a/binutils/arsup.c +++ b/binutils/arsup.c @@ -1,5 +1,6 @@ /* arsup.c - Archive support for MRI compatibility - Copyright (C) 1992, 93, 94, 95, 96, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 1999 + Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -95,7 +96,7 @@ FILE *outfile; static void ar_directory_doer (abfd, ignore) bfd *abfd; - bfd *ignore; + bfd *ignore ATTRIBUTE_UNUSED; { print_arelt_descr(outfile, abfd, verbose); } |