diff options
author | 2016-12-20 22:19:08 +0000 | |
---|---|---|
committer | 2016-12-20 22:19:08 +0000 | |
commit | 9313a659c4e134510399c457e303d62c0565e4ce (patch) | |
tree | 8df3788500c297c7023bce14a46a7e55d77fe381 /lib/libc/rpc/xdr_reference.c | |
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 'lib/libc/rpc/xdr_reference.c')
-rw-r--r-- | lib/libc/rpc/xdr_reference.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/rpc/xdr_reference.c b/lib/libc/rpc/xdr_reference.c index 2e604281647..ad67661d020 100644 --- a/lib/libc/rpc/xdr_reference.c +++ b/lib/libc/rpc/xdr_reference.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xdr_reference.c,v 1.11 2015/09/13 15:36:56 guenther Exp $ */ +/* $OpenBSD: xdr_reference.c,v 1.12 2016/12/20 22:19:08 krw Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -72,6 +72,8 @@ xdr_reference(XDR *xdrs, if (loc == NULL) return (FALSE); break; + default: + break; } stat = (*proc)(xdrs, loc); |