diff lwlib/lwlib-Xaw.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 223736d75acb
children ad2f4ae9895b
line wrap: on
line diff
--- a/lwlib/lwlib-Xaw.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/lwlib/lwlib-Xaw.c	Mon Sep 20 19:20:08 2004 +0000
@@ -122,7 +122,7 @@
 
 void
 xaw_update_one_widget (widget_instance *instance, Widget widget,
-		       widget_value *val, Boolean deep_p)
+		       widget_value *val, Boolean UNUSED (deep_p))
 {
   if (0)
     ;
@@ -258,7 +258,7 @@
 }
 
 void
-xaw_popup_menu (Widget widget, XEvent *event)
+xaw_popup_menu (Widget UNUSED (widget), XEvent *UNUSED (event))
 {
   /* An Athena menubar has not been implemented. */
   return;
@@ -344,7 +344,7 @@
 
 static Widget
 make_dialog (const char* name, Widget parent, Boolean pop_up_p,
-	     const char* shell_title, const char* icon_name,
+	     const char* shell_title, const char* UNUSED (icon_name),
              Boolean text_input_slot,
 	     Boolean radio_box, Boolean list,
 	     int left_buttons, int right_buttons)
@@ -587,7 +587,8 @@
 #ifdef LWLIB_DIALOGS_ATHENA
 
 static XtActionProc
-wm_delete_window (Widget shell, XtPointer closure, XtPointer call_data)
+wm_delete_window (Widget shell, XtPointer UNUSED (closure),
+		  XtPointer UNUSED (call_data))
 {
   LWLIB_ID id;
   Widget *kids = 0;