aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/rpc
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-11 18:09:38 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-11 18:09:38 +0000
commit341f552d8c069e849fb1d974e487dcaccc297cc8 (patch)
tree2871aaf00cf5b83c1df26eae469f099ab033df41 /lib/libc/rpc
parent3fc873ffe255283ae4ff5a53947d8c296d591ad8 (diff)
downloadsrc-341f552d8c069e849fb1d974e487dcaccc297cc8.tar.gz
src-341f552d8c069e849fb1d974e487dcaccc297cc8.zip
libc: cleanup unnecessary semicolons (part 2).
Found with devel/coccinelle.
Notes
Notes: svn path=/head/; revision=297829
Diffstat (limited to 'lib/libc/rpc')
-rw-r--r--lib/libc/rpc/clnt_bcast.c2
-rw-r--r--lib/libc/rpc/clnt_generic.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c
index a194ba6c77cc..99f54082d002 100644
--- a/lib/libc/rpc/clnt_bcast.c
+++ b/lib/libc/rpc/clnt_bcast.c
@@ -469,7 +469,7 @@ rpc_broadcast_exp(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc,
"broadcast packet");
stat = RPC_CANTSEND;
continue;
- };
+ }
#ifdef RPC_DEBUG
if (!__rpc_lowvers)
fprintf(stderr, "Broadcast packet sent "
diff --git a/lib/libc/rpc/clnt_generic.c b/lib/libc/rpc/clnt_generic.c
index 0c8a425750a4..0dea81d52eb5 100644
--- a/lib/libc/rpc/clnt_generic.c
+++ b/lib/libc/rpc/clnt_generic.c
@@ -402,7 +402,7 @@ clnt_tli_create(int fd, const struct netconfig *nconf,
if (madefd) {
(void) CLNT_CONTROL(cl, CLSET_FD_CLOSE, NULL);
/* (void) CLNT_CONTROL(cl, CLSET_POP_TIMOD, NULL); */
- };
+ }
return (cl);