X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=d58d724b754c16dd4e5f5ca78d63644291ddeffc;hb=2d93f6df5a0d595628e2a61304ad0024a54775dd;hp=dc31a33436ae43a6dbb178146834d88d804872b7;hpb=96891b4d5a0681c2c9bc03f211639f0d98970796;p=yaz-moved-to-github.git diff --git a/ztest/ztest.c b/ztest/ztest.c index dc31a33..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)); @@ -89,7 +88,7 @@ static Odr_int get_hit_count(Z_Query *q) return h; } -/** \brief checks if it's a dummy Slow database.. +/** \brief checks if it's a dummy Slow database \param basename database name to check \param association backend association (or NULL if not available) \retval 1 is slow database