svn commit: r297829 - head/lib/libc/rpc

Pedro F. Giffuni pfg at FreeBSD.org
Mon Apr 11 18:09:40 UTC 2016


Author: pfg
Date: Mon Apr 11 18:09:38 2016
New Revision: 297829
URL: https://svnweb.freebsd.org/changeset/base/297829

Log:
  libc: cleanup unnecessary semicolons (part 2).
  
  Found with devel/coccinelle.

Modified:
  head/lib/libc/rpc/clnt_bcast.c
  head/lib/libc/rpc/clnt_generic.c

Modified: head/lib/libc/rpc/clnt_bcast.c
==============================================================================
--- head/lib/libc/rpc/clnt_bcast.c	Mon Apr 11 18:08:12 2016	(r297828)
+++ head/lib/libc/rpc/clnt_bcast.c	Mon Apr 11 18:09:38 2016	(r297829)
@@ -469,7 +469,7 @@ rpc_broadcast_exp(rpcprog_t prog, rpcver
 						      "broadcast packet");
 						stat = RPC_CANTSEND;
 						continue;
-					};
+					}
 #ifdef RPC_DEBUG
 				if (!__rpc_lowvers)
 					fprintf(stderr, "Broadcast packet sent "

Modified: head/lib/libc/rpc/clnt_generic.c
==============================================================================
--- head/lib/libc/rpc/clnt_generic.c	Mon Apr 11 18:08:12 2016	(r297828)
+++ head/lib/libc/rpc/clnt_generic.c	Mon Apr 11 18:09:38 2016	(r297829)
@@ -402,7 +402,7 @@ clnt_tli_create(int fd, const struct net
 	if (madefd) {
 		(void) CLNT_CONTROL(cl, CLSET_FD_CLOSE, NULL);
 /*		(void) CLNT_CONTROL(cl, CLSET_POP_TIMOD, NULL);  */
-	};
+	}
 
 	return (cl);
 


More information about the svn-src-all mailing list