Skip to content

Commit

Permalink
coverity: #1425777
Browse files Browse the repository at this point in the history
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
  • Loading branch information
2xsec committed Jun 8, 2018
1 parent 7b2352c commit 1b61156
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lxc/lxccontainer.c
Expand Up @@ -2777,9 +2777,6 @@ static bool has_snapshots(struct lxc_container *c)
if (!dir)
return false;
while ((direntp = readdir(dir))) {
if (!direntp)
break;

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

Expand Down

0 comments on commit 1b61156

Please sign in to comment.