coverity: #1425777

parent 7b2352c7
...@@ -2777,9 +2777,6 @@ static bool has_snapshots(struct lxc_container *c) ...@@ -2777,9 +2777,6 @@ static bool has_snapshots(struct lxc_container *c)
if (!dir) if (!dir)
return false; return false;
while ((direntp = readdir(dir))) { while ((direntp = readdir(dir))) {
if (!direntp)
break;
if (!strcmp(direntp->d_name, ".")) if (!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