diff src/alloc.c @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents f913c1545598
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/alloc.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/alloc.c	Mon Sep 20 19:20:08 2004 +0000
@@ -2036,7 +2036,7 @@
 }
 
 static int
-string_equal (Lisp_Object obj1, Lisp_Object obj2, int depth)
+string_equal (Lisp_Object obj1, Lisp_Object obj2, int UNUSED (depth))
 {
   Bytecount len;
   return (((len = XSTRING_LENGTH (obj1)) == XSTRING_LENGTH (obj2)) &&
@@ -3532,7 +3532,13 @@
    seen yet, recursively mark all the references contained in it. */
 
 void
-mark_object (Lisp_Object obj)
+mark_object (
+#ifdef USE_KKCC
+	     Lisp_Object UNUSED (obj)
+#else
+	     Lisp_Object obj
+#endif
+	     )
 {
 #ifdef USE_KKCC
   /* this code should never be reached when configured for KKCC */
@@ -5129,7 +5135,7 @@
        that some minimum block size is imposed (e.g. 16 bytes). */
 
 Bytecount
-malloced_storage_size (void *ptr, Bytecount claimed_size,
+malloced_storage_size (void *UNUSED (ptr), Bytecount claimed_size,
 		       struct overhead_stats *stats)
 {
   Bytecount orig_claimed_size = claimed_size;