mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Fix assertion typos.
Reported by Conrad Meyer.
This commit is contained in:
@@ -1799,7 +1799,7 @@ imalloc_body(static_opts_t *sopts, dynamic_opts_t *dopts, tsd_t *tsd) {
|
||||
*/
|
||||
assert(dopts->tcache_ind == TCACHE_IND_AUTOMATIC ||
|
||||
dopts->tcache_ind == TCACHE_IND_NONE);
|
||||
assert(dopts->arena_ind = ARENA_IND_AUTOMATIC);
|
||||
assert(dopts->arena_ind == ARENA_IND_AUTOMATIC);
|
||||
dopts->tcache_ind = TCACHE_IND_NONE;
|
||||
/* We know that arena 0 has already been initialized. */
|
||||
dopts->arena_ind = 0;
|
||||
|
||||
Reference in New Issue
Block a user