mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* 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:
@@ -1305,13 +1305,13 @@ print_archive_filename_bsd (filename)
|
||||
|
||||
static void
|
||||
print_archive_filename_sysv (filename)
|
||||
char *filename;
|
||||
char *filename ATTRIBUTE_UNUSED;
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
print_archive_filename_posix (filename)
|
||||
char *filename;
|
||||
char *filename ATTRIBUTE_UNUSED;
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1319,7 +1319,7 @@ print_archive_filename_posix (filename)
|
||||
|
||||
static void
|
||||
print_archive_member_bsd (archive, filename)
|
||||
char *archive;
|
||||
char *archive ATTRIBUTE_UNUSED;
|
||||
CONST char *filename;
|
||||
{
|
||||
if (!filename_per_symbol)
|
||||
|
||||
Reference in New Issue
Block a user