X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Fsnippet.c;h=a1a289f488056cf722b23ff8ed49be7a7735e61b;hp=9be51e97c6fae946aad820aae4f877a65ff7750c;hb=426d07a60c57c3555934655a78437cf4677c65c8;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a diff --git a/util/snippet.c b/util/snippet.c index 9be51e9..a1a289f 100644 --- a/util/snippet.c +++ b/util/snippet.c @@ -219,11 +219,6 @@ const struct zebra_snippet_word *zebra_snippets_lookup( for (hit_w = zebra_snippets_constlist(hit); hit_w; hit_w = hit_w->next) { const zebra_snippet_word *doc_w; - doc_w = zebra_snippets_constlist(doc); - if (!doc_w) - { - yaz_log(YLOG_WARN, "zebra_snippets_constlist returns 0"); - } for (doc_w = zebra_snippets_constlist(doc); doc_w; doc_w = doc_w->next) { if (doc_w->ord == hit_w->ord && doc_w->seqno == hit_w->seqno