Commit 1caa6c54 authored by Raymond Hettinger's avatar Raymond Hettinger

Assertions key off NDEBUG

parent 68621697
......@@ -61,7 +61,7 @@ typedef struct BLOCK {
* block is freed leaving another existing block as the new endpoint.
*/
#ifdef Py_DEBUG
#ifndef NDEBUG
#define MARK_END(link) link = NULL;
#define CHECK_END(link) assert(link == NULL);
#define CHECK_NOT_END(link) assert(link != NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment