summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-12-20 22:19:08 +0000
committerkrw <krw@openbsd.org>2016-12-20 22:19:08 +0000
commit9313a659c4e134510399c457e303d62c0565e4ce (patch)
tree8df3788500c297c7023bce14a46a7e55d77fe381 /usr.sbin/amd
parentExplain what the trailing '*' in command names output by sa(8) mean. (diff)
downloadwireguard-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.c7
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;
}
}