X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Frecgrs.c;h=ef0acb445b82de059a5a75c6914e9055f183fa64;hp=7e755a1eb9819891cd988bd181ec7f998949892f;hb=28a5e11d6d51c63fbdcfde35782de65e848ddd0c;hpb=9b0da910be52bf3b781cae7575bbac7a08e54080 diff --git a/index/recgrs.c b/index/recgrs.c index 7e755a1..ef0acb4 100644 --- a/index/recgrs.c +++ b/index/recgrs.c @@ -733,8 +733,6 @@ static void index_termlist(struct source_parser *sp, data1_node *par, struct recExtractCtrl *p, int level, RecWord *wrd) { data1_termlist *tlist = 0; - data1_datatype dtype = DATA1K_string; - /* * cycle up towards the root until we find a tag with an att.. * this has the effect of indexing locally defined tags with @@ -746,9 +744,6 @@ static void index_termlist(struct source_parser *sp, data1_node *par, break; if (!par || !(tlist = par->u.tag.element->termlists)) return; - if (par->u.tag.element->tag) - dtype = par->u.tag.element->tag->kind; - for (; tlist; tlist = tlist->next) { /* consider source */