This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This patch fixes the following warnings:
/usr/src/aj/cvs/gcc/libiberty/floatformat.c:42: warning: unused parameter `fmt'
/usr/src/aj/cvs/gcc/libiberty/floatformat.c:43: warning: unused parameter `from'
/usr/src/aj/cvs/gcc/libiberty/floatformat.c:42: warning: unused parameter `fmt'
/usr/src/aj/cvs/gcc/libiberty/floatformat.c:43: warning: unused parameter `from'
Ok to commit after bootstrapping passes on x86_64-linux-gnu?
Andreas
2003-10-30 Andreas Jaeger <aj@suse.de>
* floatformat.c (floatformat_always_valid): Att unused attribute.
============================================================
Index: libiberty/floatformat.c
--- libiberty/floatformat.c 22 Sep 2003 17:42:03 -0000 1.13
+++ libiberty/floatformat.c 30 Oct 2003 06:57:42 -0000
@@ -39,8 +39,8 @@ static int floatformat_always_valid PARA
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;
}
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |