summaryrefslogtreecommitdiff
path: root/oldXMenu
diff options
context:
space:
mode:
Diffstat (limited to 'oldXMenu')
-rw-r--r--oldXMenu/Activate.c7
-rw-r--r--oldXMenu/XMenuInt.h2
2 files changed, 4 insertions, 5 deletions
diff --git a/oldXMenu/Activate.c b/oldXMenu/Activate.c
index 410782e60a9..e679c2ffed6 100644
--- a/oldXMenu/Activate.c
+++ b/oldXMenu/Activate.c
@@ -615,8 +615,8 @@ XMenuActivate(
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.
@@ -629,9 +629,6 @@ XMenuActivate(
feq_tmp->event = event;
feq_tmp->next = feq;
feq = feq_tmp;
- break;
- default:
- goto queue;
}
}
/*
diff --git a/oldXMenu/XMenuInt.h b/oldXMenu/XMenuInt.h
index 86b8e057cd5..5d5365ad8f2 100644
--- a/oldXMenu/XMenuInt.h
+++ b/oldXMenu/XMenuInt.h
@@ -37,6 +37,8 @@ without express or implied warranty.
#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. */