diff options
author | pfg <pfg@FreeBSD.org> | 2015-04-06 03:02:20 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-04-06 03:02:20 +0000 |
commit | 23c3b7747772bbe3c9755033bd1e7a620a3a9754 (patch) | |
tree | f10081240f94d0d9545483cf62689f234b12c8f0 /usr.bin/sort | |
parent | 4a1d849efc0ea57e9674e144e3143e3ae1a6a9e0 (diff) | |
download | FreeBSD-src-23c3b7747772bbe3c9755033bd1e7a620a3a9754.zip FreeBSD-src-23c3b7747772bbe3c9755033bd1e7a620a3a9754.tar.gz |
sort: style knits / cleanups.
Minor cleanups that got accidentally reverted.
Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/sort')
-rw-r--r-- | usr.bin/sort/radixsort.c | 2 | ||||
-rw-r--r-- | usr.bin/sort/sort.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sort/radixsort.c b/usr.bin/sort/radixsort.c index 3b395cf..1fa260b 100644 --- a/usr.bin/sort/radixsort.c +++ b/usr.bin/sort/radixsort.c @@ -308,7 +308,7 @@ run_sort_level_next(struct sort_level *sl) sl->sublevels = NULL; } - switch (sl->tosort_num){ + switch (sl->tosort_num) { case 0: goto end; case (1): diff --git a/usr.bin/sort/sort.c b/usr.bin/sort/sort.c index 372c661..0d725d6 100644 --- a/usr.bin/sort/sort.c +++ b/usr.bin/sort/sort.c @@ -523,7 +523,7 @@ check_mutually_exclusive_flags(char c, bool *mef_flags) int fo_index, mec; bool found_others, found_this; - found_others = found_this =false; + found_others = found_this = false; fo_index = 0; for (int i = 0; i < NUMBER_OF_MUTUALLY_EXCLUSIVE_FLAGS; i++) { |