mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 14:30:32 +00:00
coverity: #1425841
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
This commit is contained in:
parent
4b696f90fe
commit
409842faff
@ -85,9 +85,6 @@ static int _recursive_rmdir(const char *dirname, dev_t pdev,
|
|||||||
struct stat mystat;
|
struct stat mystat;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (!direntp)
|
|
||||||
break;
|
|
||||||
|
|
||||||
if (!strcmp(direntp->d_name, ".") ||
|
if (!strcmp(direntp->d_name, ".") ||
|
||||||
!strcmp(direntp->d_name, ".."))
|
!strcmp(direntp->d_name, ".."))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user