From 45e151e97d45d1daabdb614486eb5b3a8c1e722b Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 6 Apr 2015 03:02:20 +0000 Subject: [PATCH] sort: style knits / cleanups. Minor cleanups that got accidentally reverted. Obtained from: OpenBSD --- usr.bin/sort/radixsort.c | 2 +- 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 3b395cfacd9..1fa260b7cc0 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 372c661d40e..0d725d62289 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++) {