summaryrefslogtreecommitdiff
path: root/usr.bin/sort
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-15 22:31:22 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-15 22:31:22 +0000
commit80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079 (patch)
treef34884b5132e36e8b0946f07dc1cf090047af8fb /usr.bin/sort
parent14a0ca29fe703fdb1903fd229ad762a1192690c7 (diff)
downloadsrc-test-80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079.tar.gz
src-test-80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079.zip
Cleanup unnecessary semicolons from utilities we all love.
Notes
Notes: svn path=/head/; revision=298089
Diffstat (limited to 'usr.bin/sort')
-rw-r--r--usr.bin/sort/bwstring.c2
-rw-r--r--usr.bin/sort/coll.c2
-rw-r--r--usr.bin/sort/file.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sort/bwstring.c b/usr.bin/sort/bwstring.c
index fc30b56ae8851..3965eaed1c98b 100644
--- a/usr.bin/sort/bwstring.c
+++ b/usr.bin/sort/bwstring.c
@@ -297,7 +297,7 @@ bwscsbdup(const unsigned char *str, size_t len)
/* NOTREACHED */
err(2, "mbrtowc error");
cptr += charlen;
- };
+ }
}
ret->len = chars;
diff --git a/usr.bin/sort/coll.c b/usr.bin/sort/coll.c
index 0b7eb571b8f5f..7b4ad1067810d 100644
--- a/usr.bin/sort/coll.c
+++ b/usr.bin/sort/coll.c
@@ -688,7 +688,7 @@ static void setsuffix(wchar_t c, unsigned char *si)
break;
default:
*si = 0;
- };
+ }
}
/*
diff --git a/usr.bin/sort/file.c b/usr.bin/sort/file.c
index 0a0088947deef..47d59af5b1dd2 100644
--- a/usr.bin/sort/file.c
+++ b/usr.bin/sort/file.c
@@ -1258,7 +1258,7 @@ sort_list_to_file(struct sort_list *list, const char *outfile)
break;
default:
errx(2, "%s", getstr(10));
- };
+ }
}
if (sort_opts_vals.sort_method == SORT_DEFAULT)