summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-11 09:33:41 +0000
committerZeev Suraski <zeev@php.net>2001-07-11 09:33:41 +0000
commited542331b749826baa17d5bd23265b465b6a9494 (patch)
tree6a6a4f6dd192942880d2a77385ca4d4bf3d3c7e0 /Zend/zend_variables.c
parentff4dfc56f287d9bd9ec2e9c11be8dd4b920961dd (diff)
downloadphp-git-ed542331b749826baa17d5bd23265b465b6a9494.tar.gz
Get rid of some inlines
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)
{