From 80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Fri, 15 Apr 2016 22:31:22 +0000 Subject: Cleanup unnecessary semicolons from utilities we all love. --- usr.bin/sort/bwstring.c | 2 +- usr.bin/sort/coll.c | 2 +- usr.bin/sort/file.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/sort') 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) -- cgit v1.3