* 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.
This commit is contained in:
Ian Lance Taylor
1999-07-11 20:02:30 +00:00
parent 7442e600c8
commit b4c96d0d37
16 changed files with 123 additions and 108 deletions

View File

@@ -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);
}