Unverified Commit e06cb972 by Donghwa Jeong Committed by Christian Brauner

coverity: #1425795

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