mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 11:01:26 +00:00
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:
parent
3283db096f
commit
5eff9886a0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user