Removed some unused variables at BRZ and FCH algorithm
This commit is contained in:
parent
1eccb27c5a
commit
80413e6a42
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue