Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
5003906d
Unverified
Commit
5003906d
authored
Jul 31, 2020
by
Michael Grunder
Committed by
GitHub
Jul 31, 2020
Browse files
Define a no op assert if we detect NDEBUG (#861)
Addresses #642
parent
ea063b7c
Changes
1
Show whitespace changes
Inline
Side-by-side
async.c
View file @
5003906d
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment