felipe Tue Jul 1 11:27:05 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard string.c Log: - Removed unused variables http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.69.2.27&r2=1.445.2.14.2.69.2.28&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.445.2.14.2.69.2.27 php-src/ext/standard/string.c:1.445.2.14.2.69.2.28 --- php-src/ext/standard/string.c:1.445.2.14.2.69.2.27 Mon Jun 30 10:39:34 2008 +++ php-src/ext/standard/string.c Tue Jul 1 11:27:05 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.445.2.14.2.69.2.27 2008/06/30 10:39:34 tony2001 Exp $ */ +/* $Id: string.c,v 1.445.2.14.2.69.2.28 2008/07/01 11:27:05 felipe Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -997,7 +997,7 @@ Splits a string on string separator and return array of components. If limit is positive only limit number of components is returned. If limit is negative all components except the last abs(limit) are returned. */ PHP_FUNCTION(explode) { - zval **str, **delim, **zlimit = NULL; + zval **str, **delim; long limit = -1; int argc = ZEND_NUM_ARGS(); @@ -4096,7 +4096,6 @@ { char *arg; zval **arrayArg = NULL; - zval *sarg; char *res = NULL; int arglen;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php