about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--group.c1
-rw-r--r--kbfunc.c1
-rw-r--r--menu.c1
-rw-r--r--mousefunc.c2
4 files changed, 5 insertions, 0 deletions
diff --git a/group.c b/group.c
index 307b5c7..dd47e06 100644
--- a/group.c
+++ b/group.c
@@ -351,6 +351,7 @@ group_menu(XButtonEvent *e)
 	int			 i;
 
 	sc = screen_fromroot(e->root);
+
 	TAILQ_INIT(&menuq);
 
 	for (i = 0; i < CALMWM_NGROUPS; i++) {
diff --git a/kbfunc.c b/kbfunc.c
index c742f7e..7a406ea 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -335,6 +335,7 @@ kbfunc_ssh(struct client_ctx *cc, union arg *arg)
 	}
 
 	TAILQ_INIT(&menuq);
+
 	lbuf = NULL;
 	while ((buf = fgetln(fp, &len))) {
 		if (buf[len - 1] == '\n')
diff --git a/menu.c b/menu.c
index 28eac9f..465244f 100644
--- a/menu.c
+++ b/menu.c
@@ -209,6 +209,7 @@ menu_complete_path(struct menu_ctx *mc)
 	mr = xcalloc(1, sizeof(*mr));
 
 	TAILQ_INIT(&menuq);
+
 	if ((mi = menu_filter(mc->sc, &menuq, mc->searchstr, NULL,
 	    CWM_MENU_DUMMY, search_match_path_any, NULL)) != NULL) {
 		mr->abort = mi->abort;
diff --git a/mousefunc.c b/mousefunc.c
index 1d2b287..c8edf6a 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -227,6 +227,7 @@ mousefunc_menu_unhide(struct client_ctx *cc, void *arg)
 	old_cc = client_current();
 
 	TAILQ_INIT(&menuq);
+
 	TAILQ_FOREACH(cc, &Clientq, entry)
 		if (cc->flags & CLIENT_HIDDEN) {
 			wname = (cc->label) ? cc->label : cc->name;
@@ -263,6 +264,7 @@ mousefunc_menu_cmd(struct client_ctx *cc, void *arg)
 	struct cmd		*cmd;
 
 	TAILQ_INIT(&menuq);
+
 	TAILQ_FOREACH(cmd, &Conf.cmdq, entry) {
 		mi = xcalloc(1, sizeof(*mi));
 		(void)strlcpy(mi->text, cmd->label, sizeof(mi->text));