diff options
author | alfred <alfred@FreeBSD.org> | 2002-10-07 01:09:40 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-10-07 01:09:40 +0000 |
commit | a759393c669138e62d5f6aa8a6c805dea4634139 (patch) | |
tree | 226cb2b2d3d44d1c9daa8c785941caa1b262751a /usr.sbin/rpcbind | |
parent | 6d864638d8e8efb3905278e8d6cb1b7eb3797ff6 (diff) | |
download | FreeBSD-src-a759393c669138e62d5f6aa8a6c805dea4634139.zip FreeBSD-src-a759393c669138e62d5f6aa8a6c805dea4634139.tar.gz |
Add ';' after 'default:' labels to avoid 'deprecated use of label at end
of compound statement' warnings.
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r-- | usr.sbin/rpcbind/security.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/rpcbind/security.c b/usr.sbin/rpcbind/security.c index 8f47f66..0311f58 100644 --- a/usr.sbin/rpcbind/security.c +++ b/usr.sbin/rpcbind/security.c @@ -104,6 +104,7 @@ check_access(SVCXPRT *xprt, rpcproc_t proc, void *args, int rpcbvers) case RPCBPROC_GETADDRLIST: case RPCBPROC_GETSTAT: default: + ; } #ifdef LIBWRAP @@ -148,6 +149,7 @@ is_loopback(struct netbuf *nbuf) case AF_LOCAL: return 1; default: + ; } return 0; @@ -267,8 +269,10 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum) case YPPROC_NEXT: goto deny; default: + ; } default: + ; } return 1; |