X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftermlists.c;h=0eb8eb7614e15d49fc61481bdb070d9aff0e326c;hb=464f19c366e6016b3d18cf1cede3805f922417a8;hp=6808a68ab167f816a997dc7edc7e06240a49e9fa;hpb=b0e04a1cb9261a088d5c100dbc891f3240fa88ce;p=pazpar2-moved-to-github.git diff --git a/src/termlists.c b/src/termlists.c index 6808a68..0eb8eb7 100644 --- a/src/termlists.c +++ b/src/termlists.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2012 Index Data + Copyright (C) 2006-2013 Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -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++)