Skip to content

Commit

Permalink
Merge pull request #27 from thalliumhemd/master
Browse files Browse the repository at this point in the history
Fix: hash_table_set does not correcly remove items if NDEBUG is set
  • Loading branch information
Cloudef authored Apr 8, 2017
2 parents 0036426 + 2f818a8 commit ca402de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chck/lut/lut.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ hash_table_set(struct chck_hash_table *table, struct chck_hash_table *l, struct

// removal
if (!data) {
assert(lut_set_index(&table->meta, index, NULL));
lut_set_index(&table->meta, index, NULL);
return lut_set_index(&table->lut, index, NULL);
}

Expand Down

0 comments on commit ca402de

Please sign in to comment.