From f22a3b1065a2b71acfc422cb447445452929b834 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 5 Jun 2015 14:54:04 +0000 Subject: [PATCH] redundant check for 'list' --- menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.c b/menu.c index 1026347..f9a0354 100644 --- a/menu.c +++ b/menu.c @@ -338,7 +338,7 @@ menu_draw(struct menu_ctx *mc, struct menu_q *menuq, struct menu_q *resultq) int n, xsave, ysave; if (mc->list) { - if (TAILQ_EMPTY(resultq) && mc->list) { + if (TAILQ_EMPTY(resultq)) { /* Copy them all over. */ TAILQ_FOREACH(mi, menuq, entry) TAILQ_INSERT_TAIL(resultq, mi,