summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index d408e65eb8..a8aa5348d0 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1426,8 +1426,6 @@ static bool add_dir(char* dirname, int fd)
1426 bool abort = false; 1426 bool abort = false;
1427 char buf[MAX_PATH/2]; /* saving a little stack... */ 1427 char buf[MAX_PATH/2]; /* saving a little stack... */
1428 1428
1429 DEBUGF("add_dir(%s)\n",dirname);
1430
1431 /* check for user abort */ 1429 /* check for user abort */
1432#ifdef HAVE_PLAYER_KEYPAD 1430#ifdef HAVE_PLAYER_KEYPAD
1433 if (button_get(false) == BUTTON_STOP) 1431 if (button_get(false) == BUTTON_STOP)
@@ -1462,7 +1460,6 @@ static bool add_dir(char* dirname, int fd)
1462 (!strcasecmp(&entry->d_name[x-4], ".mp2")) || 1460 (!strcasecmp(&entry->d_name[x-4], ".mp2")) ||
1463 (!strcasecmp(&entry->d_name[x-4], ".mpa"))) 1461 (!strcasecmp(&entry->d_name[x-4], ".mpa")))
1464 { 1462 {
1465 DEBUGF("adding %s\n",entry->d_name);
1466 write(fd, dirname, strlen(dirname)); 1463 write(fd, dirname, strlen(dirname));
1467 write(fd, "/", 1); 1464 write(fd, "/", 1);
1468 write(fd, entry->d_name, x); 1465 write(fd, entry->d_name, x);