X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isamc%2Fisamd.c;h=21d90a9cf56def6deda7ed157d4dc5107bd6b01a;hb=b1e27ac647d3f28b773603157077a9d55e5ec3eb;hp=8fb7dcaec219e5f243522bc3556fda3ee5421010;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/isamc/isamd.c b/isamc/isamd.c index 8fb7dca..21d90a9 100644 --- a/isamc/isamd.c +++ b/isamc/isamd.c @@ -1,4 +1,4 @@ -/* $Id: isamd.c,v 1.23 2002-08-02 19:26:56 adam Exp $ +/* $Id: isamd.c,v 1.25 2003-03-05 16:41:10 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -601,10 +601,6 @@ ISAMD_PP isamd_pp_open (ISAMD is, const char *dictbuf, int dictlen) char *src; int sz = is->method->filecat[is->max_cat].bsize; /* always allocate for the largest blocks, saves trouble */ - struct it_key singlekey; - char *c_ptr; /* for fake encoding the singlekey */ - char *i_ptr; - int ofs; int dictnum; pp->numKeys = 0; @@ -620,7 +616,7 @@ ISAMD_PP isamd_pp_open (ISAMD is, const char *dictbuf, int dictlen) pp->diffinfo=0; pp->decodeClientData = (*is->method->code_start)(ISAMD_DECODE); - dictnum=*dictbuf; // numkeys for internals, 0 for externals + dictnum=*dictbuf; /* numkeys for internals, 0 for externals */ if (0==dictnum) { @@ -798,6 +794,8 @@ int isamd_pp_num (ISAMD_PP pp) return pp->numKeys; } +#if 0 +/* for testing .. */ static char *hexdump(unsigned char *p, int len, char *buff) { static char localbuff[128]; char bytebuff[8]; @@ -811,7 +809,7 @@ static char *hexdump(unsigned char *p, int len, char *buff) { } return buff; } - +#endif #ifdef SKIPTHIS /* needs different arguments, or something */ @@ -881,7 +879,13 @@ void isamd_pp_dump (ISAMD is, ISAMD_P ipos) /* * $Log: isamd.c,v $ - * Revision 1.23 2002-08-02 19:26:56 adam + * Revision 1.25 2003-03-05 16:41:10 adam + * Fix GCC warnings + * + * Revision 1.24 2002/11/26 22:18:34 adam + * Remove // comments + * + * Revision 1.23 2002/08/02 19:26:56 adam * Towards GPL * * Revision 1.22 2002/07/12 18:12:21 heikki