summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-10-07 03:56:13 +0000
committeralfred <alfred@FreeBSD.org>2002-10-07 03:56:13 +0000
commit79b6172e08f31132eb5db07c733256b08f9080b0 (patch)
tree5550f21b845d39405152b4c70dfd0c31ce24e058 /usr.sbin/rpcbind
parentdccd7d6c72bdb1f5cb62f2b4626c902d14e5a0f4 (diff)
downloadFreeBSD-src-79b6172e08f31132eb5db07c733256b08f9080b0.zip
FreeBSD-src-79b6172e08f31132eb5db07c733256b08f9080b0.tar.gz
Add 'break' to empty 'default' 'switch' statements.
Requested by: mike
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/security.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpcbind/security.c b/usr.sbin/rpcbind/security.c
index 7b52241..61cea5a 100644
--- a/usr.sbin/rpcbind/security.c
+++ b/usr.sbin/rpcbind/security.c
@@ -104,7 +104,7 @@ check_access(SVCXPRT *xprt, rpcproc_t proc, void *args, unsigned int rpcbvers)
case RPCBPROC_GETADDRLIST:
case RPCBPROC_GETSTAT:
default:
- ;
+ break;
}
#ifdef LIBWRAP
@@ -149,7 +149,7 @@ is_loopback(struct netbuf *nbuf)
case AF_LOCAL:
return 1;
default:
- ;
+ break;
}
return 0;
@@ -269,10 +269,10 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum __unused)
case YPPROC_NEXT:
goto deny;
default:
- ;
+ break;
}
default:
- ;
+ break;
}
return 1;
OpenPOWER on IntegriCloud