coverity: #1425795

parent 1e9cf480
...@@ -2091,9 +2091,6 @@ static int lxc_get_unused_loop_dev_legacy(char *loop_name) ...@@ -2091,9 +2091,6 @@ static int lxc_get_unused_loop_dev_legacy(char *loop_name)
return -1; return -1;
while ((dp = readdir(dir))) { while ((dp = readdir(dir))) {
if (!dp)
break;
if (strncmp(dp->d_name, "loop", 4) != 0) if (strncmp(dp->d_name, "loop", 4) != 0)
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