Removed some unused variables at BRZ and FCH algorithm

This commit is contained in:
fc_botelho 2007-02-13 15:35:38 +00:00
parent c73ee33b98
commit b10dcef656
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(cmph, 0.5)
AM_INIT_AUTOMAKE(cmph, 0.6)
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.

View File

@ -134,6 +134,8 @@ cmph_t *brz_new(cmph_config_t *mph, float c)
case CMPH_FCH:
if (c <= 2.0) c = 2.6;
break;
default:
assert(0);
}
brz->c = c;
brz->m = mph->key_source->nkeys;

View File

@ -276,8 +276,6 @@ cmph_t *fch_new(cmph_config_t *mph, float c)
}
if (sorted_indexes) free (sorted_indexes);
sorted_indexes = ordering(buckets);
cmph_uint32 nbuckets = fch_buckets_get_nbuckets(buckets);
cmph_uint32 i = 0;
if (mph->verbosity)
{
fprintf(stderr, "Starting searching step.\n");