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 f9cac72303
commit 9d6365d965
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. dnl Process this file with autoconf to produce a configure script.
AC_INIT(Makefile.am) AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(cmph, 0.5) AM_INIT_AUTOMAKE(cmph, 0.6)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
dnl Checks for programs. dnl Checks for programs.

View File

@ -134,6 +134,8 @@ cmph_t *brz_new(cmph_config_t *mph, float c)
case CMPH_FCH: case CMPH_FCH:
if (c <= 2.0) c = 2.6; if (c <= 2.0) c = 2.6;
break; break;
default:
assert(0);
} }
brz->c = c; brz->c = c;
brz->m = mph->key_source->nkeys; 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); if (sorted_indexes) free (sorted_indexes);
sorted_indexes = ordering(buckets); sorted_indexes = ordering(buckets);
cmph_uint32 nbuckets = fch_buckets_get_nbuckets(buckets);
cmph_uint32 i = 0;
if (mph->verbosity) if (mph->verbosity)
{ {
fprintf(stderr, "Starting searching step.\n"); fprintf(stderr, "Starting searching step.\n");