=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sort/radixsort.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/sort/radixsort.c 2015/03/17 17:49:27 1.2 +++ src/usr.bin/sort/radixsort.c 2015/04/01 20:58:13 1.3 @@ -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 @@ -138,7 +138,6 @@ 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 @@ static void free_sort_level(struct sort_level *sl) { - if (sl) { if (sl->leaves) sort_free(sl->leaves);