X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f9ba5e2255cf18092750fffacb6a9603571a2be5..777e3beace88a39457ee4a856a094e16649f333f:/src/src/store.c diff --git a/src/src/store.c b/src/src/store.c index cbfcfea36..4e1a63e07 100644 --- a/src/src/store.c +++ b/src/src/store.c @@ -354,7 +354,7 @@ the released memory. */ newlength = bc + b->length - CS ptr; #ifndef COMPILE_UTILITY -if (running_in_test_harness || debug_store) +if (debug_store) { assert_no_variables(ptr, newlength, filename, linenumber); if (running_in_test_harness) @@ -379,7 +379,7 @@ if (yield_length[store_pool] < STOREPOOL_MIN_SIZE && { b = b->next; #ifndef COMPILE_UTILITY - if (running_in_test_harness || debug_store) + if (debug_store) assert_no_variables(b, b->length + ALIGNED_SIZEOF_STOREBLOCK, filename, linenumber); #endif @@ -393,7 +393,7 @@ b->next = NULL; while ((b = bb)) { #ifndef COMPILE_UTILITY - if (running_in_test_harness || debug_store) + if (debug_store) assert_no_variables(b, b->length + ALIGNED_SIZEOF_STOREBLOCK, filename, linenumber); #endif