Some minor code cleanup.
This commit is contained in:
parent
e10a13ad94
commit
8b73303488
1 changed files with 1 additions and 6 deletions
|
@ -1000,17 +1000,12 @@ process_blocks:
|
|||
|
||||
for (j=0; j < sub_i; j++) {
|
||||
hash_entry_t *he = NULL;
|
||||
if (j > 0 && crc != *((uint64_t *)sim_ck)) {
|
||||
he = db_lookup_insert_s(cfg, sim_ck, 0, seg_offset, 0, 1);
|
||||
} else {
|
||||
he = NULL;
|
||||
}
|
||||
if (he) {
|
||||
*((uint64_t *)tgt) = he->item_offset;
|
||||
} else {
|
||||
*((uint64_t *)tgt) = UINT64_MAX;
|
||||
}
|
||||
crc = *((uint64_t *)sim_ck);
|
||||
sim_ck += cfg->similarity_cksum_sz;
|
||||
tgt += cfg->similarity_cksum_sz;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue