Remove unnecessary parameters for cache_bin_postincrement.

This commit is contained in:
guangli-dai
2023-08-20 23:28:38 -07:00
committed by Qi Wang
parent 7d9eceaf38
commit fbca96c433
4 changed files with 4 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ test_bin_init(cache_bin_t *bin, cache_bin_info_t *info) {
size_t cur_offset = 0;
cache_bin_preincrement(info, 1, mem, &cur_offset);
cache_bin_init(bin, info, mem, &cur_offset);
cache_bin_postincrement(info, 1, mem, &cur_offset);
cache_bin_postincrement(mem, &cur_offset);
assert_zu_eq(cur_offset, size, "Should use all requested memory");
}