summaryrefslogtreecommitdiffstats
path: root/src/quarantine.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-04-18 20:38:40 (GMT)
committerJason Evans <je@fb.com>2012-04-18 20:38:40 (GMT)
commit78f7352259768f670f8e1f9b000388dd32b62493 (patch)
treee6d541daec7f5076f9d3b4856cf31b8666f7c447 /src/quarantine.c
parent0b25fe79aaf8840a5acda7e3160a053d42349872 (diff)
downloadjemalloc-78f7352259768f670f8e1f9b000388dd32b62493.zip
jemalloc-78f7352259768f670f8e1f9b000388dd32b62493.tar.gz
jemalloc-78f7352259768f670f8e1f9b000388dd32b62493.tar.bz2
Clean up a few config-related conditionals/asserts.
Clean up a few config-related conditionals to avoid unnecessary dependencies on prof symbols. Use cassert() rather than assert() everywhere that it's appropriate.
Diffstat (limited to 'src/quarantine.c')
-rw-r--r--src/quarantine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quarantine.c b/src/quarantine.c
index 89a25c6..5fb6c39 100644
--- a/src/quarantine.c
+++ b/src/quarantine.c
@@ -101,7 +101,7 @@ quarantine(void *ptr)
quarantine_t *quarantine;
size_t usize = isalloc(ptr, config_prof);
- assert(config_fill);
+ cassert(config_fill);
assert(opt_quarantine);
quarantine = *quarantine_tsd_get();
@@ -154,7 +154,7 @@ bool
quarantine_boot(void)
{
- assert(config_fill);
+ cassert(config_fill);
if (quarantine_tsd_boot())
return (true);