https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81851
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org Severity|normal |enhancement --- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #1) > Definitely not a bug, I never intended that the warning detects the latter > case. And it's not an easy enhancement, either. Yeah it's not really what I think of as "branches" when there's no else. And sometimes I write code like that on purpose.