Add explicit default labels in switch() statements with error handling.
authorclaudio <claudio@openbsd.org>
Fri, 28 Apr 2023 13:23:52 +0000 (13:23 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 28 Apr 2023 13:23:52 +0000 (13:23 +0000)
commit0adb143f73b24d8cebf26c68cbed2d5b184addbf
tree0dae8f663def15ec4edcb5c3583a410fd09477e9
parenta2e850b8296cf8fb6bf1f60b47605a14657333dd
Add explicit default labels in switch() statements with error handling.
Right now these are not reachable. Should also clear some gcc warnings.
OK tb@
usr.sbin/bgpd/parse.y
usr.sbin/bgpd/printconf.c