mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Move n_search outside of assert as reported by static analyzer
This commit is contained in:
parent
a559caf74a
commit
9522ae41d6
1 changed files with 2 additions and 1 deletions
|
|
@ -185,7 +185,8 @@ arena_decay_compute_purge_interval_impl(tsdn_t *tsdn, decay_t *decay,
|
|||
lb = target;
|
||||
npurge_lb = npurge;
|
||||
}
|
||||
assert(n_search++ < lg_floor(SMOOTHSTEP_NSTEPS) + 1);
|
||||
assert(n_search < lg_floor(SMOOTHSTEP_NSTEPS) + 1);
|
||||
++n_search;
|
||||
}
|
||||
interval = decay_interval_ns * (ub + lb) / 2;
|
||||
label_done:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue