This should be better in the long run.
* oldXMenu/Activate.c (XMenuActivate): Revert previous change,
eliminating the goto it introduced.
* oldXMenu/XMenuInt.h: Include <attribute.h>, for FALLTHROUGH.
event.xbutton.window
);
if (event_xmp != NULL) continue;
-
- queue:
+ FALLTHROUGH;
+ default:
/*
* This is a foreign event.
* Queue it for later return to the X event queue.
feq_tmp->event = event;
feq_tmp->next = feq;
feq = feq_tmp;
- break;
- default:
- goto queue;
}
}
/*
#include <config.h>
+#include <attribute.h>
+
/* Avoid warnings about redefining NULL by including <stdio.h> first;
the other file which wants to define it (<stddef.h> on Ultrix
systems) can deal if NULL is already defined, but <stdio.h> can't. */