]> granicus.if.org Git - php/commitdiff
- Removed unused variables
authorFelipe Pena <felipe@php.net>
Tue, 1 Jul 2008 11:27:05 +0000 (11:27 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 1 Jul 2008 11:27:05 +0000 (11:27 +0000)
ext/standard/string.c

index c305421e3a1a4b4bf83ffc931ab909902c097425..44bdeb8eacc3b78d0fc4b50a8de432ac8ac05dcd 100644 (file)
@@ -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;