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.
This commit is contained in:
Jason Evans
2012-04-18 13:38:40 -07:00
parent 0b25fe79aa
commit 78f7352259
2 changed files with 8 additions and 6 deletions

View File

@@ -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);