diff src/input-method-xlib.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 e22b0213b713
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/input-method-xlib.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/input-method-xlib.c	Mon Sep 20 19:20:08 2004 +0000
@@ -137,7 +137,8 @@
 /* Called from when XIM is destroying.
    Clear all the XIC when the XIM was destroying... */
 static void
-IMDestroyCallback (XIM im, XPointer client_data, XPointer call_data)
+IMDestroyCallback (XIM UNUSED (im), XPointer client_data,
+		   XPointer UNUSED (call_data))
 {
   struct device *d = (struct device *)client_data;
   Lisp_Object tail;
@@ -160,7 +161,8 @@
 /* This is registered in XIM_init_device (when DEVICE is initializing).
    This activates XIM when XIM becomes available. */
 static void
-IMInstantiateCallback (Display *dpy, XPointer client_data, XPointer call_data)
+IMInstantiateCallback (Display *dpy, XPointer client_data,
+		       XPointer UNUSED (call_data))
 {
   struct device *d = (struct device *)client_data;
   XIM xim;
@@ -243,7 +245,8 @@
 
 /* Callback for the deleting frame. */
 static void
-XIM_delete_frame (Widget w, XtPointer client_data, XtPointer call_data)
+XIM_delete_frame (Widget UNUSED (w), XtPointer client_data,
+		  XtPointer UNUSED (call_data))
 {
   struct frame *f = (struct frame *) client_data;
   struct device *d = XDEVICE (FRAME_DEVICE (f));
@@ -686,7 +689,7 @@
   XtAppContext app,
   XrmValuePtr  toVal,
   XtPointer    converter_data,
-  XrmValuePtr  args,
+  XrmValuePtr  UNUSED (args),
   Cardinal    *num_args)
 {
 #ifdef DEBUG_XIM