Commit b5d305ee authored by Guillaume Quintard's avatar Guillaume Quintard Committed by Lasse Karstensen

Remove unnecessary check

parent a75a278e
......@@ -61,8 +61,7 @@
#define REPLACE(ptr, val) \
do { \
if ((ptr) != NULL) \
free(ptr); \
free(ptr); \
if ((val) != NULL) { \
ptr = strdup(val); \
AN((ptr)); \
......
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