X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=d58d724b754c16dd4e5f5ca78d63644291ddeffc;hb=97193c4445d3dca23f65c4b517801f148da5a512;hp=c0886301c1dec96174a26526937ab00999bfd549;hpb=8965b9ad303ed2ef26f55db2224860745a0a5128;p=yaz-moved-to-github.git diff --git a/ztest/ztest.c b/ztest/ztest.c index c088630..d58d724 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ @@ -52,7 +52,6 @@ static Odr_int get_term_hit(Z_RPNStructure *s) Odr_oct *oct = apt->term->u.general; if (oct->len > 0 && oct->buf[0] >= '0' && oct->buf[0] <= '9') { - char *endptr; WRBUF hits_str = wrbuf_alloc(); wrbuf_write(hits_str, (const char *) oct->buf, oct->len); h = odr_atoi(wrbuf_cstr(hits_str));