From 426d07a60c57c3555934655a78437cf4677c65c8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 15 Jan 2009 14:30:24 +0100 Subject: [PATCH] removed a few debug stmts --- index/mod_dom.c | 2 -- util/snippet.c | 5 ----- 2 files changed, 7 deletions(-) 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 -- 1.7.10.4