Closed tobhe closed 6 years ago
I ran into the same issue, good thing I looked here and saw that it was already an open pull request!
Any plans to review and include this into master @silentbicycle?
I'll cherry-pick this onto develop and include it in the next release. Thanks.
Aside from warnings, it shouldn't be a functional change -- the fallthrough there is intentional (but not explicitly noted), and GCC isn't detecting that usage()
calls exit(1)
.
@silentbicycle thanks!
@silentbicycle: If the fallthrough is planned I recommend using a comment to prevent gcc throwing a warning here
Thanks!
Fixed fallthrough warnings thrown in GCC 7.1.1: