Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-10-04 21:56:46 +0300
committermichael-grunder <michael.grunder@gmail.com>2018-10-04 21:56:46 +0300
commit1b7fe98ab7a9c5589d1511ff4cdece85058b8877 (patch)
tree308eb9c141399429097ba5d9f4705a97f5b5fc42 /common.h
parent4ffd75425cc972342c7ce90d026af7f64f486ef5 (diff)
Undo breaking changes
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 9a92c72b..a1dbf28a 100644
--- a/common.h
+++ b/common.h
@@ -436,8 +436,8 @@ typedef size_t strlen_t;
#define PHPREDIS_ZVAL_IS_STRICT_FALSE(z) (Z_TYPE_P(z) == IS_FALSE)
#define PHPREDIS_GET_OBJECT(class_entry, z) (class_entry *)((char *)Z_OBJ_P(z) - XtOffsetOf(class_entry, std))
-#define REDIS_MAKE_STD_ZVAL(zv) PHPREDIS_NOTUSED
-#define REDIS_FREE_ZVAL(zv) PHPREDIS_NOTUSED
+#define REDIS_MAKE_STD_ZVAL(zv) do {} while(0)
+#define REDIS_FREE_ZVAL(zv) do {} while(0)
#endif
/* NULL check so Eclipse doesn't go crazy */