svn commit: r210088 - in head/usr.bin: col netstat xlint/lint1

Ed Maste emaste at FreeBSD.org
Thu Jul 15 00:04:14 UTC 2010


Author: emaste
Date: Thu Jul 15 00:04:14 2010
New Revision: 210088
URL: http://svn.freebsd.org/changeset/base/210088

Log:
  Remove more extraneous ;s.

Modified:
  head/usr.bin/col/col.c
  head/usr.bin/netstat/if.c
  head/usr.bin/xlint/lint1/mem1.c

Modified: head/usr.bin/col/col.c
==============================================================================
--- head/usr.bin/col/col.c	Wed Jul 14 22:31:45 2010	(r210087)
+++ head/usr.bin/col/col.c	Thu Jul 15 00:04:14 2010	(r210088)
@@ -461,7 +461,7 @@ flush_line(LINE *l)
 
 			if (compress_spaces && nspace > 1) {
 				while (1) {
-					int tab_col, tab_size;;
+					int tab_col, tab_size;
 
 					tab_col = (last_col + 8) & ~7;
 					if (tab_col > this_col)

Modified: head/usr.bin/netstat/if.c
==============================================================================
--- head/usr.bin/netstat/if.c	Wed Jul 14 22:31:45 2010	(r210087)
+++ head/usr.bin/netstat/if.c	Thu Jul 15 00:04:14 2010	(r210088)
@@ -562,7 +562,7 @@ sidewaysintpr(int interval1, u_long off)
 			interesting = ip;
 			interesting_off = off;
 		}
-		snprintf(ip->ift_name, sizeof(ip->ift_name), "(%s)", name);;
+		snprintf(ip->ift_name, sizeof(ip->ift_name), "(%s)", name);
 		if ((ipn = malloc(sizeof(struct iftot))) == NULL) {
 			printf("malloc failed\n");
 			exit(1);

Modified: head/usr.bin/xlint/lint1/mem1.c
==============================================================================
--- head/usr.bin/xlint/lint1/mem1.c	Wed Jul 14 22:31:45 2010	(r210087)
+++ head/usr.bin/xlint/lint1/mem1.c	Thu Jul 15 00:04:14 2010	(r210088)
@@ -218,7 +218,7 @@ xgetblk(mbl_t **mbp, size_t s)
 			frmblks = mb->nxt;
 		}
 		mb->ffree = mb->blk;
-		mb->nfree = mb->size;;
+		mb->nfree = mb->size;
 		mb->nxt = *mbp;
 		*mbp = mb;
 	}


More information about the svn-src-head mailing list