johannes Tue Mar 8 16:33:17 2005 EDT
Modified files:
/php-src/ext/spl spl_array.c
Log:
- Fix #32238 (spl_array.c: void function cannot return value)
http://cvs.php.net/diff.php/php-src/ext/spl/spl_array.c?r1=1.62&r2=1.63&ty=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.62 php-src/ext/spl/spl_array.c:1.63
--- php-src/ext/spl/spl_array.c:1.62 Sun Mar 6 18:09:21 2005
+++ php-src/ext/spl/spl_array.c Tue Mar 8 16:33:15 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_array.c,v 1.62 2005/03/06 23:09:21 helly Exp $ */
+/* $Id: spl_array.c,v 1.63 2005/03/08 21:33:15 johannes Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -327,7 +327,7 @@
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(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) /* {{{ */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php