aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_search.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 15:44:21 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 15:44:21 +0200
commit36470979d9f3518217fc26987558dafb3ab36f5c (patch)
tree5ebeb5b306faafca9c52f1696f4be9851b4fa9b1 /src/screen_search.c
parent9526f180e6f55654c99bd8d66c71612a32b0fb4e (diff)
downloadmpd-36470979d9f3518217fc26987558dafb3ab36f5c.tar.gz
mpd-36470979d9f3518217fc26987558dafb3ab36f5c.tar.xz
mpd-36470979d9f3518217fc26987558dafb3ab36f5c.zip
removed the debugging function D()
gdb is for debugging. We don't need D() calls littered all over.
Diffstat (limited to '')
-rw-r--r--src/screen_search.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/screen_search.c b/src/screen_search.c
index b7020c043..9d80e15a1 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -241,7 +241,6 @@ search_advanced_query(char *query, mpdclient_t *c)
i=0;
while (strv[i]) {
- D("strv[%d] = \"%s\"\n", i, strv[i]);
i++;
}
@@ -258,12 +257,10 @@ search_advanced_query(char *query, mpdclient_t *c)
arg[j] = g_strdup_printf("%s %s", arg[j], strv[i]);
g_free(tmp);
} else {
- D("Bad search tag %s\n", strv[i]);
screen_status_printf(_("Bad search tag %s"), strv[i]);
}
i++;
} else if (strv[i+1] == NULL || strlen(strv[i+1]) == 0) {
- D("No argument for search tag %s\n", strv[i]);
screen_status_printf(_("No argument for search tag %s"), strv[i]);
i++;
// j--;