diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index a74045f1af..c2d9b216a5 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -87,7 +87,6 @@ static int showdir(char *path, int start) | |||
87 | 87 | ||
88 | /* new dir? cache it */ | 88 | /* new dir? cache it */ |
89 | if (strncmp(path,lastdir,sizeof(lastdir))) { | 89 | if (strncmp(path,lastdir,sizeof(lastdir))) { |
90 | debugf("Caching dir %s\n",path); | ||
91 | DIR *dir = opendir(path); | 90 | DIR *dir = opendir(path); |
92 | if(!dir) | 91 | if(!dir) |
93 | return -1; /* not a directory */ | 92 | return -1; /* not a directory */ |