Jim Meyering wrote:
- -Wduplicated-branches complained about three false positives,
In Emacs, I found -Wduplicated-branches to be useless and I disabled it. Since it's finding only false alarms in grep, too, I suggest that we disable it by default at the Gnulib level. My impression is that for GNU code, -Wduplicated-branches is mostly just the compiler saying "Look how smart I am!" rather than something that's helpful in finding real bugs.