Mercurial > hg > xemacs-beta
diff src/gui-x.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 | 95fee4a1420e |
children | ecf1ebac70d8 |
line wrap: on
line diff
--- a/src/gui-x.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/gui-x.c Mon Sep 20 19:20:08 2004 +0000 @@ -224,7 +224,7 @@ */ void -popup_selection_callback (Widget widget, LWLIB_ID ignored_id, +popup_selection_callback (Widget widget, LWLIB_ID UNUSED (id), XtPointer client_data) { Lisp_Object data, image_instance, callback, callback_ex; @@ -505,13 +505,13 @@ if (NILP (pgui->style)) { Ibyte *intname; - Bytecount intlen; + Bytecount unused_intlen; /* If the callback is nil, treat this item like unselectable text. This way, dashes will show up as a separator. */ if (!wv->enabled) wv->type = BUTTON_TYPE; TO_INTERNAL_FORMAT (C_STRING, wv->name, - ALLOCA, (intname, intlen), + ALLOCA, (intname, unused_intlen), Qlwlib_encoding); if (separator_string_p (intname)) {