X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Finvstat.c;h=ce82cd69447a5dd9735a436a4702327f31b9f7b8;hb=9b4f970d2816490fa4cc850fabc51f494ee5612b;hp=2cdf9b12fb5ae16dc92ae7c6f2eabdcca8f75027;hpb=e150e51a7e20a902e9fd2f11f00811f94f67d529;p=idzebra-moved-to-github.git diff --git a/index/invstat.c b/index/invstat.c index 2cdf9b1..ce82cd6 100644 --- a/index/invstat.c +++ b/index/invstat.c @@ -11,7 +11,9 @@ #include "index.h" #include "recindex.h" +#if ZMBOL #include "../isamc/isamd-p.h" +#endif struct inv_stat_info { ISAMS isams; @@ -134,6 +136,9 @@ void inv_prstat (BFiles bfs) ISAM isam = NULL; ISAMC isamc = NULL; ISAMD isamd = NULL; + int blocks; + int size; + int count; #endif Records records; int i, prev; @@ -141,9 +146,6 @@ void inv_prstat (BFiles bfs) int after = 1000000000; struct inv_stat_info stat_info; char term_dict[2*IT_MAX_WORD+2]; - int blocks; - int size; - int count; term_dict[0] = 1; term_dict[1] = 0; @@ -321,7 +323,13 @@ void inv_prstat (BFiles bfs) /* * * $Log: invstat.c,v $ - * Revision 1.19 1999-11-30 13:48:03 adam + * Revision 1.21 2000-07-13 10:14:20 heikki + * Removed compiler warnings when making zebra + * + * Revision 1.20 1999/12/01 13:30:30 adam + * Updated configure for Zmbol/Zebra dependent settings. + * + * Revision 1.19 1999/11/30 13:48:03 adam * Improved installation. Updated for inclusion of YAZ header files. * * Revision 1.18 1999/10/06 11:46:36 heikki