This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix warning from pa.c
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 31 Aug 2002 15:49:02 -0400 (EDT)
- Subject: Fix warning from pa.c
This fixes a new warning under hppa-linux.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
Index: config/pa/pa.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/pa/pa.c,v
retrieving revision 1.177
diff -u -3 -p -r1.177 pa.c
--- config/pa/pa.c 21 Aug 2002 02:41:50 -0000 1.177
+++ config/pa/pa.c 30 Aug 2002 21:37:54 -0000
@@ -116,7 +116,8 @@ static void pa_select_section PARAMS ((t
ATTRIBUTE_UNUSED;
static void pa_encode_section_info PARAMS ((tree, int));
static const char *pa_strip_name_encoding PARAMS ((const char *));
-static void pa_globalize_label PARAMS ((FILE *, const char *));
+static void pa_globalize_label PARAMS ((FILE *, const char *))
+ ATTRIBUTE_UNUSED;
/* Save the operands last given to a compare for use when we
generate a scc or bcc insn. */