aboutsummaryrefslogtreecommitdiff
path: root/gas/cond.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 20:20:04 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 20:20:04 +0000
commitab9da554193906c4406d4d5eadfc24ea8f521558 (patch)
tree77c3d4f23c655a31a54e39196741eeab8a094dd0 /gas/cond.c
parent85e5d57188f418c0517892818a40b0806c5659c3 (diff)
downloadgdb-ab9da554193906c4406d4d5eadfc24ea8f521558.zip
gdb-ab9da554193906c4406d4d5eadfc24ea8f521558.tar.gz
gdb-ab9da554193906c4406d4d5eadfc24ea8f521558.tar.bz2
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations. Add variable initializations. Add casts. * dwarf2dbg.c (print_stats): Change i to size_t. * listing.c (listing_listing): Change list_line to unsigned int.
Diffstat (limited to 'gas/cond.c')
-rw-r--r--gas/cond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/cond.c b/gas/cond.c
index 434fc66..943c9f6 100644
--- a/gas/cond.c
+++ b/gas/cond.c
@@ -248,7 +248,7 @@ s_ifc (arg)
void
s_endif (arg)
- int arg;
+ int arg ATTRIBUTE_UNUSED;
{
struct conditional_frame *hold;
@@ -280,7 +280,7 @@ s_endif (arg)
void
s_else (arg)
- int arg;
+ int arg ATTRIBUTE_UNUSED;
{
if (current_cframe == NULL)
{