From: Felipe Pena Date: Tue, 1 Jul 2008 11:27:05 +0000 (+0000) Subject: - Removed unused variables X-Git-Tag: php-5.3.0alpha1~544 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a35fb373fe410b33cd301794ccf2321cd9c9700;p=php - Removed unused variables --- diff --git a/ext/standard/string.c b/ext/standard/string.c index c305421e3a..44bdeb8eac 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -997,7 +997,7 @@ PHPAPI void php_explode_negative_limit(zval *delim, zval *str, zval *return_valu 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 @@ PHP_FUNCTION(parse_str) { char *arg; zval **arrayArg = NULL; - zval *sarg; char *res = NULL; int arglen;