mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-02 10:07:51 +03:00
Remove unnecessary parameters for cache_bin_postincrement.
This commit is contained in:
parent
7d9eceaf38
commit
fbca96c433
4 changed files with 4 additions and 7 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue