diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-04-01 20:58:14 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-04-01 20:58:14 +0000 |
commit | c33679484bfd039bf2be9ebf9e1d217e2c8538a4 (patch) | |
tree | 3068e6ab8461d2671c77fa04732746c1b0be2130 /usr.bin/sort/radixsort.c | |
parent | aeca232e15d041fe340d010bfa003d0bbfc9746f (diff) |
Style nits, remove whitespace at the start of a function.
Diffstat (limited to 'usr.bin/sort/radixsort.c')
-rw-r--r-- | usr.bin/sort/radixsort.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/sort/radixsort.c b/usr.bin/sort/radixsort.c index 59f65ace16c..bc68e45a5cd 100644 --- a/usr.bin/sort/radixsort.c +++ b/usr.bin/sort/radixsort.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radixsort.c,v 1.2 2015/03/17 17:49:27 millert Exp $ */ +/* $OpenBSD: radixsort.c,v 1.3 2015/04/01 20:58:13 millert Exp $ */ /*- * Copyright (C) 2012 Oleg Moskalenko <mom040267@gmail.com> @@ -138,7 +138,6 @@ add_to_sublevel(struct sort_level *sl, struct sort_list_item *item, size_t indx) static inline void add_leaf(struct sort_level *sl, struct sort_list_item *item) { - if (++(sl->leaves_num) > sl->leaves_sz) { sl->leaves_sz = sl->leaves_num + 128; sl->leaves = sort_reallocarray(sl->leaves, sl->leaves_sz, @@ -177,7 +176,6 @@ place_item(struct sort_level *sl, size_t item) static void free_sort_level(struct sort_level *sl) { - if (sl) { if (sl->leaves) sort_free(sl->leaves); |