don't test BER_MEM_VALID forever.

This commit is contained in:
Kurt Zeilenga 1999-06-08 01:37:47 +00:00
parent a9fca665e6
commit 82def24b31

View File

@ -30,7 +30,7 @@ static const struct ber_mem_hdr ber_int_mem_hdr = { BER_MEM_JUNK };
#define BER_MEM_VALID(p) do { \
assert( (p) != BER_MEM_BADADDR ); \
assert( (p) != (void *) &ber_int_mem_hdr ); \
} while(1)
} while(0)
#else
#define BER_MEM_VALID(p) /* no-op */
#endif