projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor code out to stand-alone functions. This is to support one code path
[pazpar2-moved-to-github.git]
/
src
/
termlists.c
diff --git
a/src/termlists.c
b/src/termlists.c
index
6808a68
..
64f397a
100644
(file)
--- a/
src/termlists.c
+++ b/
src/termlists.c
@@
-110,7
+110,7
@@
struct termlist_score **termlist_highscore(struct termlist *tl, int *len,
struct termlist_score **highscore =
(struct termlist_score **)
nmem_malloc(nmem, tl->no_entries * sizeof(*highscore));
-
+
int no = 0;
unsigned bucket;
for (bucket = 0; bucket < tl->hash_size; bucket++)