Mercurial > hg > xemacs-beta
diff src/balloon_help.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 | 943eaba38521 |
children | 308d34e9f07d |
line wrap: on
line diff
--- a/src/balloon_help.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/balloon_help.c Mon Sep 20 19:20:08 2004 +0000 @@ -42,6 +42,7 @@ #include <X11/Xutil.h> #include <X11/extensions/shape.h> +#include "compiler.h" #include "xintrinsic.h" #include "balloon_help.h" @@ -229,8 +230,8 @@ } static void -get_text_size (Display* dpy, XFontStruct* fontStruct, const char* text, - int* max_width, int* max_height) +get_text_size (Display* UNUSED (dpy), XFontStruct* fontStruct, + const char* text, int* max_width, int* max_height) { int width; int height; @@ -307,7 +308,7 @@ } static void -make_mask (int shape, int x, int y, int width, int height) +make_mask (int shape, int UNUSED (x), int UNUSED (y), int width, int height) { XPoint cone[ 3 ]; @@ -336,7 +337,7 @@ } static void -show_help (XtPointer data, XtIntervalId* id) +show_help (XtPointer UNUSED (data), XtIntervalId* id) { int x, y; int shape;