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 856be01a01
commit 24a6ff3840
3 changed files with 3 additions and 3 deletions

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");