Unverified Commit 6d9493df by Donghwa Jeong Committed by Christian Brauner

coverity: #1425841

parent e06cb972
...@@ -85,9 +85,6 @@ static int _recursive_rmdir(char *dirname, dev_t pdev, ...@@ -85,9 +85,6 @@ static int _recursive_rmdir(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;
......
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