diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2014-11-04 22:24:58 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2014-11-04 22:24:58 -0600 |
commit | 1a6bfb03e05be7aa5e7899f484718314f6459168 (patch) | |
tree | a0dd5849840a9a4549b06a8e1a89e2ca56bcbca4 /grailsort.c | |
parent | 8161ac06785068da5234553b528ecbbc8339e232 (diff) |
Remove unused parameter
Diffstat (limited to 'grailsort.c')
-rw-r--r-- | grailsort.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |