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]

Patch to zap 'unused' warning in langhooks.c:lhd_staticp


Installed as obvious.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.12190
diff -u -p -r1.12190 ChangeLog
--- ChangeLog	2001/12/06 18:13:17	1.12190
+++ ChangeLog	2001/12/06 18:15:04
@@ -1,3 +1,8 @@
+2001-12-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* langhooks.c (lhd_staticp): Mark parameter with
+	ATTRIBUTE_UNUSED.
+
 2001-12-06  H.J. Lu <hjl@gnu.org>
 
 	* Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
Index: langhooks.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/langhooks.c,v
retrieving revision 1.13
diff -u -p -r1.13 langhooks.c
--- langhooks.c	2001/12/05 23:48:10	1.13
+++ langhooks.c	2001/12/06 18:15:04
@@ -81,7 +81,7 @@ lhd_safe_from_p (x, exp)
 
 int
 lhd_staticp (exp)
-     tree exp;
+     tree exp ATTRIBUTE_UNUSED;
 {
   return 0;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]