mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 12:43:16 +00:00
Move n_search outside of assert as reported by static analyzer
This commit is contained in:
committed by
David Goldblatt
parent
a559caf74a
commit
9522ae41d6
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user