Unverified Commit 5003906d authored by Michael Grunder's avatar Michael Grunder Committed by GitHub
Browse files

Define a no op assert if we detect NDEBUG (#861)

Addresses #642
parent ea063b7c
......@@ -47,6 +47,11 @@
#include "async_private.h"
#ifdef NDEBUG
#undef assert
#define assert(e) (void)(e)
#endif
/* Forward declarations of hiredis.c functions */
int __redisAppendCommand(redisContext *c, const char *cmd, size_t len);
void __redisSetError(redisContext *c, int type, const char *str);
......
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