summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-11 18:09:38 +0000
committerpfg <pfg@FreeBSD.org>2016-04-11 18:09:38 +0000
commit6aa2038d47c672ace6b259470c78a82441afa429 (patch)
tree2871aaf00cf5b83c1df26eae469f099ab033df41 /lib/libc/rpc
parent0ffec0d8f23ca9114cd0d0cfe501a5684b87ba56 (diff)
downloadFreeBSD-src-6aa2038d47c672ace6b259470c78a82441afa429.zip
FreeBSD-src-6aa2038d47c672ace6b259470c78a82441afa429.tar.gz
libc: cleanup unnecessary semicolons (part 2).
Found with devel/coccinelle.
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 a194ba6..99f5408 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 0c8a425..0dea81d 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);
OpenPOWER on IntegriCloud