comparison 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
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
264 { 264 {
265 return xlw_create_scrollbar (instance, 0); 265 return xlw_create_scrollbar (instance, 0);
266 } 266 }
267 267
268 static void 268 static void
269 xlw_update_scrollbar (widget_instance *instance, Widget widget, 269 xlw_update_scrollbar (widget_instance *UNUSED (instance), Widget widget,
270 widget_value *val) 270 widget_value *val)
271 { 271 {
272 if (val->scrollbar_data) 272 if (val->scrollbar_data)
273 { 273 {
274 scrollbar_values *data = val->scrollbar_data; 274 scrollbar_values *data = val->scrollbar_data;
390 XtManageChild (tab); 390 XtManageChild (tab);
391 391
392 return tab; 392 return tab;
393 } 393 }
394 394
395 static void build_tabs_in_widget (widget_instance* instance, Widget widget, 395 static void build_tabs_in_widget (widget_instance* UNUSED (instance),
396 widget_value* val) 396 Widget widget, widget_value* val)
397 { 397 {
398 widget_value* cur = val; 398 widget_value* cur = val;
399 for (cur = val; cur; cur = cur->next) 399 for (cur = val; cur; cur = cur->next)
400 { 400 {
401 if (cur->value) 401 if (cur->value)
531 return False; 531 return False;
532 } 532 }
533 533
534 void 534 void
535 xlw_update_one_widget (widget_instance* instance, Widget widget, 535 xlw_update_one_widget (widget_instance* instance, Widget widget,
536 widget_value* val, Boolean deep_p) 536 widget_value* val, Boolean UNUSED (deep_p))
537 { 537 {
538 WidgetClass class_ = XtClass (widget); 538 WidgetClass class_ = XtClass (widget);
539 539
540 if (0) 540 if (0)
541 ; 541 ;
568 if (val->args && val->args->nargs) 568 if (val->args && val->args->nargs)
569 XtSetValues (widget, val->args->args, val->args->nargs); 569 XtSetValues (widget, val->args->args, val->args->nargs);
570 } 570 }
571 571
572 void 572 void
573 xlw_update_one_value (widget_instance* instance, Widget widget, 573 xlw_update_one_value (widget_instance* UNUSED (instance),
574 widget_value* val) 574 Widget UNUSED (widget), widget_value* UNUSED (val))
575 { 575 {
576 return;
577 } 576 }
578 577
579 void 578 void
580 xlw_pop_instance (widget_instance* instance, Boolean up) 579 xlw_pop_instance (widget_instance* UNUSED (instance), Boolean UNUSED (up))
581 { 580 {
582 } 581 }
583 582
584 #ifdef LWLIB_MENUBARS_LUCID 583 #ifdef LWLIB_MENUBARS_LUCID
585 void 584 void