X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frpn2solr.c;h=085de954fd0768679b5b2ae1eecf2087fcbd9812;hb=503a37782cf225167804b55d2bd665a04141d9e4;hp=16f9f24e7d4b03c0b02cbcc8b32ab92ebbdfac95;hpb=fd9dee8f998fa0bc00ef967cfbdc732a9655e621;p=yaz-moved-to-github.git diff --git a/src/rpn2solr.c b/src/rpn2solr.c index 16f9f24..085de95 100644 --- a/src/rpn2solr.c +++ b/src/rpn2solr.c @@ -210,9 +210,9 @@ static int rpn2solr_simple(solr_transform_t ct, const char *sterm = 0; size_t lterm = 0; Odr_int trunc = get_truncation(apt); + char *close_range = 0; wrbuf_rewind(w); - char *close_range = 0; ret = rpn2solr_attr(ct, apt->attributes, w, &close_range); if (trunc == 0 || trunc == 1 || trunc == 100 || trunc == 104)