diff lwlib/lwlib-Xlw.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 c2569faae8ed
children f7e2b977e15c
line wrap: on
line diff
--- a/lwlib/lwlib-Xlw.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/lwlib/lwlib-Xlw.c	Mon Sep 20 19:20:08 2004 +0000
@@ -266,7 +266,7 @@
 }
 
 static void
-xlw_update_scrollbar (widget_instance *instance, Widget widget,
+xlw_update_scrollbar (widget_instance *UNUSED (instance), Widget widget,
 		      widget_value *val)
 {
   if (val->scrollbar_data)
@@ -392,8 +392,8 @@
   return tab;
 }
 
-static void build_tabs_in_widget (widget_instance* instance, Widget widget, 
-				  widget_value* val)
+static void build_tabs_in_widget (widget_instance* UNUSED (instance),
+				  Widget widget, widget_value* val)
 {
   widget_value* cur = val;
   for (cur = val; cur; cur = cur->next)
@@ -533,7 +533,7 @@
 
 void
 xlw_update_one_widget (widget_instance* instance, Widget widget,
-		       widget_value* val, Boolean deep_p)
+		       widget_value* val, Boolean UNUSED (deep_p))
 {
   WidgetClass class_ = XtClass (widget);
 
@@ -570,14 +570,13 @@
 }
 
 void
-xlw_update_one_value (widget_instance* instance, Widget widget,
-		      widget_value* val)
+xlw_update_one_value (widget_instance* UNUSED (instance),
+		      Widget UNUSED (widget), widget_value* UNUSED (val))
 {
-  return;
 }
 
 void
-xlw_pop_instance (widget_instance* instance, Boolean up)
+xlw_pop_instance (widget_instance* UNUSED (instance), Boolean UNUSED (up))
 {
 }