comparison 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
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
264 ew->emacs_frame.frame->pixheight = ew->core.height; 264 ew->emacs_frame.frame->pixheight = ew->core.height;
265 ew->emacs_frame.frame->pixwidth = ew->core.width; 265 ew->emacs_frame.frame->pixwidth = ew->core.width;
266 } 266 }
267 267
268 static void 268 static void
269 EmacsFrameInitialize (Widget request, Widget new, 269 EmacsFrameInitialize (Widget UNUSED (request), Widget new,
270 ArgList dum1, Cardinal *dum2) 270 ArgList UNUSED (unused1), Cardinal *UNUSED (unused2))
271 { 271 {
272 EmacsFrame ew = (EmacsFrame)new; 272 EmacsFrame ew = (EmacsFrame)new;
273 struct frame *f = ew->emacs_frame.frame; 273 struct frame *f = ew->emacs_frame.frame;
274 274
275 if (!f) 275 if (!f)
374 EmacsManagerChangeSize (FRAME_X_CONTAINER_WIDGET (f), repl.width, 374 EmacsManagerChangeSize (FRAME_X_CONTAINER_WIDGET (f), repl.width,
375 repl.height); 375 repl.height);
376 } 376 }
377 377
378 static Boolean 378 static Boolean
379 EmacsFrameSetValues (Widget cur_widget, Widget req_widget, Widget new_widget, 379 EmacsFrameSetValues (Widget cur_widget, Widget UNUSED (req_widget),
380 ArgList argv, Cardinal *argc) 380 Widget new_widget, ArgList argv, Cardinal *argc)
381 { 381 {
382 EmacsFrame cur = (EmacsFrame) cur_widget; 382 EmacsFrame cur = (EmacsFrame) cur_widget;
383 EmacsFrame new = (EmacsFrame) new_widget; 383 EmacsFrame new = (EmacsFrame) new_widget;
384 struct frame *f = new->emacs_frame.frame; 384 struct frame *f = new->emacs_frame.frame;
385 in_resource_setting++; 385 in_resource_setting++;
556 /* This variable cannot be a stack variable. */ 556 /* This variable cannot be a stack variable. */
557 static unsigned char cvt_string_scrollbar_placement; 557 static unsigned char cvt_string_scrollbar_placement;
558 558
559 /* ARGSUSED */ 559 /* ARGSUSED */
560 static void 560 static void
561 Xt_StringToScrollBarPlacement (XrmValuePtr args, /* unused */ 561 Xt_StringToScrollBarPlacement (XrmValuePtr UNUSED (args),
562 Cardinal *num_args, /* unused */ 562 Cardinal *UNUSED (num_args),
563 XrmValuePtr fromVal, 563 XrmValuePtr fromVal,
564 XrmValuePtr toVal) 564 XrmValuePtr toVal)
565 { 565 {
566 XrmQuark q; 566 XrmQuark q;
567 char *lowerName = (char *) ALLOCA (strlen ((char *) fromVal->addr) + 1); 567 char *lowerName = (char *) ALLOCA (strlen ((char *) fromVal->addr) + 1);
568 568
569 XmuCopyISOLatin1Lowered (lowerName, (char *) fromVal->addr); 569 XmuCopyISOLatin1Lowered (lowerName, (char *) fromVal->addr);