From: Max Kellermann Date: Fri, 2 Oct 2009 17:21:09 +0000 (+0200) Subject: screen_search: removed pointless loop in search_advanced_query() X-Git-Tag: release-0.16~212 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a75a9be50673e28f6a1829db509e7d20088d5495;p=ncmpc.git screen_search: removed pointless loop in search_advanced_query() --- diff --git a/src/screen_search.c b/src/screen_search.c index d0c0a78..9f2fee1 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -211,11 +211,6 @@ search_advanced_query(char *query, struct mpdclient *c) strv = g_strsplit_set(query, ": ", 0); - i=0; - while (strv[i]) { - i++; - } - memset(table, 0, 10*sizeof(int)); memset(arg, 0, 10*sizeof(char *));