coverity: #1426694

remove logically dead code Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 3cf0e5f3
......@@ -152,8 +152,6 @@ static void prevent_forking(void)
}
on_error:
if (fd >= 0)
close(fd);
free(line);
fclose(f);
}
......
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