From: Adam Dickmeiss Date: Thu, 15 Jan 2009 13:30:24 +0000 (+0100) Subject: removed a few debug stmts X-Git-Tag: v2.0.36~6 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=426d07a60c57c3555934655a78437cf4677c65c8;p=idzebra-moved-to-github.git removed a few debug stmts --- diff --git a/index/mod_dom.c b/index/mod_dom.c index 5eb3e29..3340ec4 100644 --- a/index/mod_dom.c +++ b/index/mod_dom.c @@ -1419,13 +1419,11 @@ static int ioread_ret(void *context, char *buffer, int len) { struct recRetrieveCtrl *p = context; int r = p->stream->readf(p->stream, buffer, len); - yaz_log(YLOG_LOG, "ioread_ret len=%d r=%d\%.*s", len, r, r, buffer); return r; } static int ioclose_ret(void *context) { - yaz_log(YLOG_LOG, "ioclose_ret"); return 0; } 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