diff src/symbols.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 7670d88516af
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/symbols.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/symbols.c	Mon Sep 20 19:20:08 2004 +0000
@@ -995,8 +995,8 @@
 
 /* Should never, ever be called. (except by an external debugger) */
 void
-print_symbol_value_magic (Lisp_Object obj,
-			  Lisp_Object printcharfun, int escapeflag)
+print_symbol_value_magic (Lisp_Object obj, Lisp_Object printcharfun,
+			  int UNUSED (escapeflag))
 {
   write_fmt_string (printcharfun,
 		    "#<INTERNAL OBJECT (XEmacs bug?) (%s type %d) 0x%lx>",
@@ -1323,7 +1323,7 @@
 */
 
 static void
-write_out_buffer_local_cache (Lisp_Object symbol,
+write_out_buffer_local_cache (Lisp_Object UNUSED (symbol),
 			      struct symbol_value_buffer_local *bfwd)
 {
   if (!NILP (bfwd->current_buffer))
@@ -2998,7 +2998,8 @@
 this function (or change the semantics of its arguments) without
 pity, thereby invalidating your code.
 */
-       (variable, handler_type, handler, harg, keep_existing))
+       (variable, handler_type, handler, harg,
+	UNUSED (keep_existing)))
 {
   Lisp_Object valcontents;
   struct symbol_value_lisp_magic *bfwd;