Mercurial > hg > xemacs-beta
diff lwlib/xlwgcs.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 | c33ae14dd6d0 |
children | 5460287a3327 |
line wrap: on
line diff
--- a/lwlib/xlwgcs.c Mon Sep 20 19:11:29 2004 +0000 +++ b/lwlib/xlwgcs.c Mon Sep 20 19:20:08 2004 +0000 @@ -231,7 +231,13 @@ GC AllocShadeGC(Widget w, Pixel fg, Pixel bg, Font font, - int contrast, Bool be_nice_to_cmap) + int contrast, +#ifdef HAVE_XMU + Bool be_nice_to_cmap +#else + Bool UNUSED (be_nice_to_cmap) +#endif + ) { XGCValues values ; unsigned long vmask, dcmask ; @@ -318,7 +324,13 @@ /* return arm-shadow gc. */ GC -AllocArmGC(Widget w, int contrast, Bool be_nice_to_cmap) +AllocArmGC(Widget w, int contrast, +#ifdef HAVE_XMU + Bool be_nice_to_cmap +#else + Bool UNUSED (be_nice_to_cmap) +#endif + ) { Screen *scr = XtScreen (w); XGCValues values ; @@ -514,8 +526,9 @@ #if XtSpecificationRelease < 5 static GC -XtAllocateGC(Widget w, int depth, unsigned long mask, XGCValues *values, - unsigned long dynamic, unsigned long dontcare) +XtAllocateGC(Widget w, int UNUSED (depth), unsigned long mask, + XGCValues *values, unsigned long UNUSED (dynamic), + unsigned long UNUSED (dontcare)) { return XtGetGC(w, mask, values) ; }