Skip to content

Commit

Permalink
coverity: #1425863
Browse files Browse the repository at this point in the history
remove logically dead code

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Dec 15, 2017
1 parent 0d219ea commit d9f8e1b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lxc/lxccontainer.c
Expand Up @@ -632,9 +632,6 @@ static bool am_single_threaded(void)
}

while ((direntp = readdir(dir))) {
if (!direntp)
break;

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

Expand Down

0 comments on commit d9f8e1b

Please sign in to comment.