diff src/EmacsFrame.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 79c6ff3eef26
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/EmacsFrame.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/EmacsFrame.c	Mon Sep 20 19:20:08 2004 +0000
@@ -266,8 +266,8 @@
 }
 
 static void
-EmacsFrameInitialize (Widget request, Widget new,
-		       ArgList dum1, Cardinal *dum2)
+EmacsFrameInitialize (Widget UNUSED (request), Widget new,
+		      ArgList UNUSED (unused1), Cardinal *UNUSED (unused2))
 {
   EmacsFrame ew = (EmacsFrame)new;
   struct frame *f = ew->emacs_frame.frame;
@@ -376,8 +376,8 @@
 }
 
 static Boolean
-EmacsFrameSetValues (Widget cur_widget, Widget req_widget, Widget new_widget,
-		      ArgList argv, Cardinal *argc)
+EmacsFrameSetValues (Widget cur_widget, Widget UNUSED (req_widget),
+		     Widget new_widget, ArgList argv, Cardinal *argc)
 {
   EmacsFrame cur = (EmacsFrame) cur_widget;
   EmacsFrame new = (EmacsFrame) new_widget;
@@ -558,10 +558,10 @@
 
 /* ARGSUSED */
 static void
-Xt_StringToScrollBarPlacement (XrmValuePtr args,   /* unused */
-				 Cardinal *num_args, /* unused */
-				 XrmValuePtr fromVal,
-				 XrmValuePtr toVal)
+Xt_StringToScrollBarPlacement (XrmValuePtr UNUSED (args),
+			       Cardinal *UNUSED (num_args),
+			       XrmValuePtr fromVal,
+			       XrmValuePtr toVal)
 {
   XrmQuark q;
   char *lowerName = (char *) ALLOCA (strlen ((char *) fromVal->addr) + 1);