Remove unused local
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 7 Dec 2009 21:08:15 +0000 (22:08 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 7 Dec 2009 21:08:15 +0000 (22:08 +0100)
ztest/ztest.c

index c088630..acefb59 100644 (file)
@@ -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));