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 19:59:29 +0300
committermichael-grunder <michael.grunder@gmail.com>2018-10-04 19:59:29 +0300
commit5b483b701ca00d2419c83eae3f7e34f822ed8c84 (patch)
tree29f2834107d04c61d4550373f652f9491a18a531 /common.h
parentbfa61700010ffe5d556c476de4ead0377e2183c0 (diff)
Commit accidentally missed no-op macro change
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 a1dbf28a..d2fc98f9 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) do {} while(0)
-#define REDIS_FREE_ZVAL(zv) do {} while(0)
+#define REDIS_MAKE_STD_ZVAL(zv) PHPREDIS_NOTUSED
+#define REDIS_FREE_ZVAL(zv) do PHPREDIS_NOTUSED
#endif
/* NULL check so Eclipse doesn't go crazy */