coverity: #1426694

remove logically dead code Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent c8dcf778
......@@ -155,8 +155,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