* src/lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6): Mark elt as unused.
(PRIVATE_EXTERNAL_ALIST_LOOP_8): Set elt_car and elt_cdr as unused.
* src/mule/mule-ccl.c (CCL_WRITE_STRING): Set bytes as unused.
* src/ui/X11/dialog-x.c (dbox_descriptor_to_widget_value): Set
title as unused.
* src/ui/X11/glyphs-x.c (x_widget_instantiate): Set nm as unused.
* src/ui/X11/gui-x.c (button_item_to_widget_value): Set intlen as
unused.
* src/ui/X11/objects-x.c (x_font_instance_properties): Set
name_len as unused.
* src/ui/lwlib/lwlib-Xlw.c (xlw_update_one_widget): Set mw as
unused.
* src/ui/lwlib/xlwtabs.c (TabsResize): Set tab as unused.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
(CONSP (hare) ? ((elt = XCAR (hare)), 1) : \
(NILP (hare) ? 0 : \
(signal_malformed_list_error (list), 0))); \
- \
- (hare = XCDR (hare)), \
+ (hare = XCDR (hare)), SXE_SET_UNUSED(elt), \
(void)((++len > suspicion_length) && \
((void)(((len & 1) != 0)&& \
((tortoise = XCDR (tortoise)), 0)), \
#define PRIVATE_EXTERNAL_ALIST_LOOP_8(elt, elt_car, elt_cdr, list, len, \
hare, tortoise, suspicion_length) \
+SXE_SET_UNUSED(elt_car),SXE_SET_UNUSED(elt_cdr); \
PRIVATE_EXTERNAL_LIST_LOOP_6 (elt, list, len, hare, tortoise, \
suspicion_length) \
if (CONSP (elt) ? (elt_car = XCAR (elt), elt_cdr = XCDR (elt), 0) :1) \
} \
} \
} \
+ SXE_SET_UNUSED(bytes); \
} while (0)
/* Read one byte from the current input buffer into Rth register. */
}
}
+ SXE_SET_UNUSED(title);
+
if (NILP(question))
syntax_error("Dialog descriptor provides no question", keys);
struct device *d = XDEVICE(device);
Lisp_Object frame = DOMAIN_FRAME(domain);
struct frame *f = XFRAME(frame);
- char *nm = 0;
+ char *nm = 0; // unused
Widget wid;
Arg al[32];
int ac = 0;
LISP_STRING_TO_EXTERNAL(IMAGE_INSTANCE_WIDGET_TEXT(ii), nm,
Qnative);
+ SXE_SET_UNUSED(nm);
+
ii->data = xnew_and_zero(struct x_subwindow_data);
/* Create a clip window to contain the subwidget. Incredibly the
if (NILP(pgui->style)) {
Bufbyte *intname = NULL;
Bytecount 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), Qlwlib_encoding);
+
+ SXE_SET_UNUSED(intlen);
+
if (intname != NULL && separator_string_p(intname)) {
wv->type = SEPARATOR_TYPE;
wv->value =
ALLOCA, (name_str, name_len),
Qx_atom_name_encoding);
+ SXE_SET_UNUSED(name_len);
+
name = (name_str ? intern((char *)name_str) : Qnil);
if (name_str &&
(atom == XA_FONT ||
composite.children[0];
else
mw = (XlwMenuWidget) widget;
+
+ SXE_SET_UNUSED(mw);
+
XtSetArg(al[0], XtNmenu, val);
XtSetValues(widget, al, 1); /* #### mw unused! */
}
tab =
(TabsConstraints) (*childP)->core.
constraints;
+ SXE_SET_UNUSED(tab);
bw = (*childP)->core.border_width;
/* Don't do anything if we can't see any of the child. */
if (ch >= bw * 2 && ch > 0 && cw >= bw * 2