diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-05-09 00:05:41 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-05-09 23:17:20 +0300 |
commit | ad45964150d0f8e96d2290479e49e1225d6db75c (patch) | |
tree | 4952576093472d32f17c3cf9c862ffd2eaa78979 /common.h | |
parent | 8a50a14bfceb0ba7a19ae6fea01ed5c7eb3b120e (diff) |
Using ZVAL_DEREF macros for dereference input variables.
This PR fixes issues #946 and #1166.
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -373,6 +373,9 @@ typedef int strlen_t; #define PHP_FE_END { NULL, NULL, NULL } #endif +/* References don't need any actions */ +#define ZVAL_DEREF(v) PHPREDIS_NOTUSED(v) + #else #include <zend_smart_str.h> #include <ext/standard/php_smart_string.h> |