From 38047acd256fb07ad7b6f6d7a380cbb1c3fbc0ae Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 11 Jul 1999 20:02:30 +0000 Subject: * 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. --- binutils/wrstabs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binutils/wrstabs.c') diff --git a/binutils/wrstabs.c b/binutils/wrstabs.c index e428174f5b..8b51587589 100644 --- a/binutils/wrstabs.c +++ b/binutils/wrstabs.c @@ -1,5 +1,5 @@ /* wrstabs.c -- Output stabs debugging information - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Written by Ian Lance Taylor . This file is part of GNU Binutils. @@ -984,7 +984,7 @@ static boolean stab_function_type (p, argcount, varargs) PTR p; int argcount; - boolean varargs; + boolean varargs ATTRIBUTE_UNUSED; { struct stab_write_handle *info = (struct stab_write_handle *) p; int i; @@ -2383,7 +2383,7 @@ stab_end_block (p, addr) /*ARGSUSED*/ static boolean stab_end_function (p) - PTR p; + PTR p ATTRIBUTE_UNUSED; { return true; } -- cgit v1.2.1