aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-10-31 13:10:32 +0000
committerDJ Delorie <dj@redhat.com>2003-10-31 13:10:32 +0000
commite7e6980b7e31bda032711c6a9ff5286b82bc72c3 (patch)
tree02e9cf777a72353a8c2772b98f4797e8406bf6fc /libiberty
parent0013291dce39125792058ff42e1cd8e413ba091f (diff)
downloadgdb-e7e6980b7e31bda032711c6a9ff5286b82bc72c3.zip
gdb-e7e6980b7e31bda032711c6a9ff5286b82bc72c3.tar.gz
gdb-e7e6980b7e31bda032711c6a9ff5286b82bc72c3.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/floatformat.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 34f421e..c9b048e 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-31 Andreas Jaeger <aj@suse.de>
+
+ * floatformat.c (floatformat_always_valid): Add unused attribute.
+
2003-10-30 Josef Zlomek <zlomekj@suse.cz>
* hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
diff --git a/libiberty/floatformat.c b/libiberty/floatformat.c
index 3589caa..daac661 100644
--- a/libiberty/floatformat.c
+++ b/libiberty/floatformat.c
@@ -39,8 +39,8 @@ static int floatformat_always_valid PARAMS ((const struct floatformat *fmt,
static int
floatformat_always_valid (fmt, from)
- const struct floatformat *fmt;
- const char *from;
+ const struct floatformat *fmt ATTRIBUTE_UNUSED;
+ const char *from ATTRIBUTE_UNUSED;
{
return 1;
}