aboutsummaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
commitdb702c59cf2577cd10e82ed61282fef3e840f877 (patch)
treec45117cffaa16d0c405fe18e0a22e5a403277232 /sbin
parent68ea9fd7d656aac31b647c15aa0867ba99bd0bb6 (diff)
downloadsrc-db702c59cf2577cd10e82ed61282fef3e840f877.tar.gz
src-db702c59cf2577cd10e82ed61282fef3e840f877.zip
remove duplicate semicolons where possible.
Approved by: cperciva MFC after: 1 week
Notes
Notes: svn path=/head/; revision=241844
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ddb/ddb.c2
-rw-r--r--sbin/natd/natd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ddb/ddb.c b/sbin/ddb/ddb.c
index 901d494aa28a..edba7f8509a5 100644
--- a/sbin/ddb/ddb.c
+++ b/sbin/ddb/ddb.c
@@ -80,7 +80,7 @@ ddb_readfile(char *filename)
argc++;
spn = strcspn(argv[0], WHITESP);
- argv[1] = argv[0] + spn + strspn(argv[0] + spn, WHITESP);;
+ argv[1] = argv[0] + spn + strspn(argv[0] + spn, WHITESP);
argv[0][spn] = '\0';
if (*argv[1] != '\0')
argc++;
diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c
index 631791b18697..959e1eeaf52c 100644
--- a/sbin/natd/natd.c
+++ b/sbin/natd/natd.c
@@ -1509,7 +1509,7 @@ static void ParseOption (const char* option, const char* parms)
break;
case LogIpfwDenied:
- logIpfwDenied = yesNoValue;;
+ logIpfwDenied = yesNoValue;
break;
case PidFile: