diff options
author | krw <krw@openbsd.org> | 2016-12-20 22:19:08 +0000 |
---|---|---|
committer | krw <krw@openbsd.org> | 2016-12-20 22:19:08 +0000 |
commit | 9313a659c4e134510399c457e303d62c0565e4ce (patch) | |
tree | 8df3788500c297c7023bce14a46a7e55d77fe381 /usr.sbin/amd | |
parent | Explain what the trailing '*' in command names output by sa(8) mean. (diff) | |
download | wireguard-openbsd-9313a659c4e134510399c457e303d62c0565e4ce.tar.xz wireguard-openbsd-9313a659c4e134510399c457e303d62c0565e4ce.zip |
Add 'default:' cases to switch statements that gcc whines about.
ok jung@
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r-- | usr.sbin/amd/amq/amq.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/amd/amq/amq.c b/usr.sbin/amd/amq/amq.c index e0b36894621..9490d678141 100644 --- a/usr.sbin/amd/amq/amq.c +++ b/usr.sbin/amd/amq/amq.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)amq.c 8.1 (Berkeley) 6/7/93 - * $Id: amq.c,v 1.19 2015/12/11 04:26:01 mmcc Exp $ + * $Id: amq.c,v 1.20 2016/12/20 22:19:08 krw Exp $ */ /* @@ -131,6 +131,9 @@ show_mti(amq_mount_tree *mt, enum show_opt e, int *mwid, int *dwid, mt->mt_mountinfo, mt->mt_mountpoint); break; } + + default: + break; } } @@ -191,6 +194,8 @@ show_mi(amq_mount_info_list *ml, enum show_opt e, int *mwid, } break; } + default: + break; } } |