Skip to content

Commit

Permalink
coverity: #1425821
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 d5329db commit 4b696f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lxc/lxccontainer.c
Expand Up @@ -4116,9 +4116,6 @@ static int do_lxcapi_snapshot_list(struct lxc_container *c, struct lxc_snapshot
}

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

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

Expand Down

0 comments on commit 4b696f9

Please sign in to comment.