remove unused fddir variable

Thanks to dlezcano for spotting this.

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
Serge Hallyn 2012-02-09 11:08:34 -06:00 committed by Daniel Lezcano
parent 3283db096f
commit 5eff9886a0

View File

@ -423,7 +423,6 @@ out:
int recursive_rmdir(char *dirname)
{
struct dirent dirent, *direntp;
int fddir;
DIR *dir;
int ret;
char pathname[MAXPATHLEN];
@ -434,8 +433,6 @@ int recursive_rmdir(char *dirname)
return -1;
}
fddir = dirfd(dir);
while (!readdir_r(dir, &dirent, &direntp)) {
struct stat mystat;