From 1a6bfb03e05be7aa5e7899f484718314f6459168 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Tue, 4 Nov 2014 22:24:58 -0600 Subject: Remove unused parameter --- grailsort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grailsort.c') diff --git a/grailsort.c b/grailsort.c index 2e0131a..3e86042 100644 --- a/grailsort.c +++ b/grailsort.c @@ -25,7 +25,7 @@ static size_t last_overlap(char *base, size_t bcount, size_t bwidth, size_t widt return bcount; } -size_t merge(char *buf, char *a, char *b, size_t bufnmel, size_t anmel, size_t bnmel, size_t width, cmpfun cmp) +size_t merge(char *buf, char *a, char *b, size_t anmel, size_t bnmel, size_t width, cmpfun cmp) { struct counts snapshot = counts[CURRENT]; @@ -130,7 +130,7 @@ void grailsort(void *unsorted, size_t nmel, size_t width, cmpfun cmp) char *block_b = block_a + bwidth; size_t bnmel = (blocks - overlap - 1) * blknmel + last_nmel; - last_nmel = merge(buf, block_a, block_b, bufnmel, blknmel, bnmel, width, cmp); + last_nmel = merge(buf, block_a, block_b, blknmel, bnmel, width, cmp); blocks = overlap; } -- cgit v1.2.3