Skip to content

Commit

Permalink
coverity: #1435210
Browse files Browse the repository at this point in the history
Logically dead code

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed May 12, 2018
1 parent c42734f commit a6ce7f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lxc/tools/tool_utils.c
Expand Up @@ -1093,9 +1093,6 @@ int rm_r(char *dirname)
char *pathname;
struct stat mystat;

if (!direntp)
break;

if (!strcmp(direntp->d_name, ".") ||
!strcmp(direntp->d_name, ".."))
continue;
Expand Down

0 comments on commit a6ce7f3

Please sign in to comment.