✘warning: switch missing default case

Gary E. Miller gem at rellim.com
Mon Jun 18 04:51:45 UTC 2018


Yo All!

I'm seeing some warnings on NTPsec git head with Gentoo stable on
RasPi.

[ 27/132] Compiling libntp/getopt.c
../../libntp/authkeys.c: In function ‘alloc_auth_info’:
../../libntp/authkeys.c:290:2: warning: switch missing default case [-Wswitch-de
fault]
  switch (type) {
  ^~~~~~
../../libntp/authkeys.c: In function ‘auth_setkey’:
../../libntp/authkeys.c:438:4: warning: switch missing default case [-Wswitch-default]
    switch (type) {
    ^~~~~~


Build log attached.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nohup.out
Type: application/octet-stream
Size: 32806 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180617/f8a76fc2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180617/f8a76fc2/attachment.bin>


More information about the devel mailing list