[Bug analyzer/99716] -Wanalyzer-double-fclose when fclose is called inside a loop

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 23 20:38:36 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #2)
> Also, I think we're missing a warning about "fp" possibly being NULL, for
> the case where the fopen fails.

I've filed this as bug 99738.


More information about the Gcc-bugs mailing list