https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80528
jim at meyering dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jim at meyering dot net --- Comment #4 from jim at meyering dot net --- Thanks for considering the addition. IME, the vast majority (probably "all I've seen") of such "useless" if stmts have been attempts to avoid what used to be UB/segfault on old systems, or simply due to people not realizing that free(NULL) is now known to be ok on all reasonable portability targets.