summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2005-03-08 21:33:15 +0000
committerJohannes Schlüter <johannes@php.net>2005-03-08 21:33:15 +0000
commit0e9e0f62fc6976e12572e13f1e324b5da283bc98 (patch)
treeb3b20151f2a2bd39e104722e5dbb7438b27cb66c
parente17ad42e38ecc94851aed91a99730464e7320d4e (diff)
downloadphp-git-0e9e0f62fc6976e12572e13f1e324b5da283bc98.tar.gz
- Fix #32238 (spl_array.c: void function cannot return value)
-rwxr-xr-xext/spl/spl_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c
index 925660dd07..311e893ba3 100755
--- a/ext/spl/spl_array.c
+++ b/ext/spl/spl_array.c
@@ -327,7 +327,7 @@ static void spl_array_write_dimension_ex(int check_inherited, zval *object, zval
static void spl_array_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC) /* {{{ */
{
- return spl_array_write_dimension_ex(1, object, offset, value TSRMLS_CC);
+ spl_array_write_dimension_ex(1, object, offset, value TSRMLS_CC);
} /* }}} */
static void spl_array_unset_dimension_ex(int check_inherited, zval *object, zval *offset TSRMLS_DC) /* {{{ */
@@ -374,7 +374,7 @@ static void spl_array_unset_dimension_ex(int check_inherited, zval *object, zval
static void spl_array_unset_dimension(zval *object, zval *offset TSRMLS_DC) /* {{{ */
{
- return spl_array_unset_dimension_ex(1, object, offset TSRMLS_CC);
+ spl_array_unset_dimension_ex(1, object, offset TSRMLS_CC);
} /* }}} */
static int spl_array_has_dimension_ex(int check_inherited, zval *object, zval *offset, int check_empty TSRMLS_DC) /* {{{ */