]> granicus.if.org Git - php/commitdiff
Remove unused variables
authorPierrick Charron <pierrick@php.net>
Sun, 7 Aug 2011 06:37:22 +0000 (06:37 +0000)
committerPierrick Charron <pierrick@php.net>
Sun, 7 Aug 2011 06:37:22 +0000 (06:37 +0000)
ext/mbstring/mbstring.c
ext/xsl/xsltprocessor.c

index 2b9da43f042eb1112a2b98f4a90acb919fe40b4b..886c2cdc92a74ffba10e62a56dcc2546a1cec3e4 100644 (file)
@@ -1147,7 +1147,7 @@ static char *php_mb_rfc1867_getword_conf(const zend_encoding *encoding, char *st
 
 static char *php_mb_rfc1867_basename(const zend_encoding *encoding, char *filename TSRMLS_DC) /* {{{ */
 {
-       char *s, *s2, *tmp;
+       char *s, *s2;
        const size_t filename_len = strlen(filename);
 
        /* The \ check should technically be needed for win32 systems only where
index 59c8bed8b06ca9a7e8f8a73a7f9c0a3c15e733cf..2aa4479e27f9602fea0502564ad14ab4e9b5efd0 100644 (file)
@@ -934,7 +934,6 @@ PHP_FUNCTION(xsl_xsltprocessor_get_security_prefs)
 {
        zval *id;
        xsl_object *intern;
-       long securityPrefs;
 
        DOM_GET_THIS(id);
        if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "") == SUCCESS) {