coverity: #1435210

Logically dead code Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent ad38dca1
...@@ -1093,9 +1093,6 @@ int rm_r(char *dirname) ...@@ -1093,9 +1093,6 @@ int rm_r(char *dirname)
char *pathname; char *pathname;
struct stat mystat; struct stat mystat;
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