Skip to content
Snippets Groups Projects
Commit 82def24b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

don't test BER_MEM_VALID forever.

parent a9fca665
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment