diff src/fileio.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 a8d8f419b459
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/fileio.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/fileio.c	Mon Sep 20 19:20:08 2004 +0000
@@ -1975,7 +1975,8 @@
 }
 
 static Lisp_Object
-internal_delete_file_1 (Lisp_Object ignore, Lisp_Object ignore2)
+internal_delete_file_1 (Lisp_Object UNUSED (ignore),
+			Lisp_Object UNUSED (ignore2))
 {
   return Qt;
 }
@@ -3829,7 +3830,8 @@
 }
 
 static Lisp_Object
-auto_save_error (Lisp_Object condition_object, Lisp_Object ignored)
+auto_save_error (Lisp_Object UNUSED (condition_object),
+		 Lisp_Object UNUSED (ignored))
 {
   /* This function can call lisp */
   if (gc_in_progress)
@@ -3849,7 +3851,7 @@
 }
 
 static Lisp_Object
-auto_save_1 (Lisp_Object ignored)
+auto_save_1 (Lisp_Object UNUSED (ignored))
 {
   /* This function can call lisp */
   /* #### I think caller is protecting current_buffer? */
@@ -3883,7 +3885,8 @@
 }
 
 static Lisp_Object
-auto_save_expand_name_error (Lisp_Object condition_object, Lisp_Object ignored)
+auto_save_expand_name_error (Lisp_Object condition_object,
+			     Lisp_Object UNUSED (ignored))
 {
   warn_when_safe_lispobj
     (Qfile, Qerror,