summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index af1be82ed9..441a5d29b0 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -31,19 +31,6 @@ ZEND_API char *empty_string = ""; /* in order to save emalloc() and efree() time
* The macro STR_FREE() will not efree() it.
*/
-/* this function MUST set the value for the variable to an empty string */
-/* and empty strings must be evaluated as FALSE */
-ZEND_API inline void var_reset(zval *var)
-{
-#if 0
- var->type = IS_STRING;
- var->value.str.val = empty_string;
- var->value.str.len = 0;
-#else
- var->type = IS_BOOL;
- var->value.lval = 0;
-#endif
-}
ZEND_API inline void var_uninit(zval *var)
{