#include <assert.h>
#include <limits.h>
#include <stdarg.h>
+#include <stdlib.h>
#define DEFINE_INTORPTR_FNS
while (va_arg(ap, char *) != NULL) {
i++;
if (c->radio.shortcut == NO_SHORTCUT)
- va_arg(ap, int); /* char promotes to int in arg lists */
- va_arg(ap, intorptr);
+ (void)va_arg(ap, int); /* char promotes to int in arg lists */
+ (void)va_arg(ap, intorptr);
}
va_end(ap);
c->radio.nbuttons = i;
c->button.label = label ? dupstr(label) : NULL;
c->button.shortcut = shortcut;
c->button.isdefault = 0;
+ c->button.iscancel = 0;
return c;
}