summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--lib.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 83bc13a..9d4271e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,9 @@
* node.h (node_dir_create): New declaration.
(node_dir_remove): Likewise.
+ * lib.c (for_each_file_priv): Removed unused variables
+ "name" and "filestat".
+
2005-05-24 Gianluca Guida <glguida@gmail.com>
* netfs.c (netfs_attempt_unlink): Implemented.
diff --git a/lib.c b/lib.c
index c15bcae..12370f4 100644
--- a/lib.c
+++ b/lib.c
@@ -244,8 +244,6 @@ for_each_file_priv (char *path, error_t (*func) (char *, char *, void *),
for (dirent = dirent_list; (!err) && (*dirent); dirent++)
{
- char *name;
- struct stat filestat;
if ((!strcmp ((*dirent)->d_name, "."))
|| (!strcmp ((*dirent)->d_name, "..")))