summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-01-29 14:46:30 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-01-29 14:46:30 +0000
commitdc8f0ee245f8a2e9922cc517b50f63690129d386 (patch)
tree85840c6e805759a9bc4b47399cda2f0741b45639 /apps/tree.c
parentefb165f65c860356d91b67e26ac1a5b8d4a2bd4d (diff)
downloadrockbox-dc8f0ee245f8a2e9922cc517b50f63690129d386.tar.gz
rockbox-dc8f0ee245f8a2e9922cc517b50f63690129d386.zip
Fix simulator build error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3186 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-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);