coverity: #1428855

remove logically dead code Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent edeb1836
...@@ -203,9 +203,6 @@ restart: ...@@ -203,9 +203,6 @@ restart:
struct lxc_list *cur; struct lxc_list *cur;
bool matched = false; bool matched = false;
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