Commit 5eff9886 by Serge Hallyn Committed by Daniel Lezcano

remove unused fddir variable

Thanks to dlezcano for spotting this. Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@canonical.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 3283db09
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment