aboutsummaryrefslogtreecommitdiff
path: root/binutils/arparse.y
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 20:02:30 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 20:02:30 +0000
commitb4c96d0d372cd69f536cb481d0c9554cf9f0eda8 (patch)
treef1493951e1d44b983758309afb226a00bb058edc /binutils/arparse.y
parent7442e600c8d771f2d03c6df7415bbfcbf99759b6 (diff)
downloadbinutils-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.zip
binutils-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.tar.gz
binutils-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/arparse.y')
-rw-r--r--binutils/arparse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/arparse.y b/binutils/arparse.y
index d6c7600..a5e90fa 100644
--- a/binutils/arparse.y
+++ b/binutils/arparse.y
@@ -193,7 +193,7 @@ verbose_command:
static int
yyerror (x)
- const char *x;
+ const char *x ATTRIBUTE_UNUSED;
{
extern int linenumber;