Include stdlib.h a few places. Remove unused var.
[idzebra-moved-to-github.git] / isamb / tstisamb.c
index 08ff71e..c56a98f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: tstisamb.c,v 1.6 2004-06-03 00:24:12 adam Exp $
+/* $Id: tstisamb.c,v 1.7.2.1 2005-01-17 08:46:25 adam Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
    Index Data Aps
 
@@ -20,6 +20,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
+#include <stdlib.h>
 #include <string.h>
 #include <yaz/xmalloc.h>
 #include <yaz/log.h>
@@ -96,7 +97,6 @@ void tst_forward(ISAMB isb, int n)
     struct read_info ri;
     int i;
     ISAMB_PP pp;
-    char key_buf[10];
 
     /* insert a number of entries */
     ri.no = 0;