From 9b69073f7592359af29592a4e43686bb6713d51d Mon Sep 17 00:00:00 2001 From: Gianluca Guida Date: Wed, 25 May 2005 02:58:55 +0000 Subject: remove unused variables --- ChangeLog | 3 +++ lib.c | 2 -- 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 * 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, ".."))) -- cgit v1.2.3