summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_variables.h')
-rw-r--r--Zend/zend_variables.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h
index a30ba91fe9..f8183e5ae3 100644
--- a/Zend/zend_variables.h
+++ b/Zend/zend_variables.h
@@ -35,14 +35,14 @@ static inline void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC)
_zval_dtor_func(zvalue ZEND_FILE_LINE_CC);
}
-ZEND_API int _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC);
+ZEND_API void _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC);
-static inline int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
+static inline void _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
{
if (zvalue->type <= IS_BOOL) {
- return SUCCESS;
+ return;
}
- return _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC);
+ _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC);
}