Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2010 00:04:14 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210088 - in head/usr.bin: col netstat xlint/lint1
Message-ID:  <201007150004.o6F04EsS019988@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007150004.o6F04EsS019988>