]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
newfs: clean up warnings
authoreadler <eadler@FreeBSD.org>
Sun, 24 Jun 2018 05:40:42 +0000 (05:40 +0000)
committereadler <eadler@FreeBSD.org>
Sun, 24 Jun 2018 05:40:42 +0000 (05:40 +0000)
commit0e2edb454665c853c9a8a9bd181d78c309857f49
tree428e182804653aeea9178cc96b44e6fa92c1afa9
parent7a58d6b09293949cdc82d40bc3f0b8cd7bd2488b
newfs: clean up warnings

- remove param: unused since r95357.
- correct definition of usage
- add explicit fallthrough notice. The existing one doesn't work with
our selection of "implicit-fallthrough" strictness.

This results in WARNS=6 building on amd64, but not other arches
sbin/newfs/newfs.c