]> 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 accbe2a20816b36bda869c137e9a6ccbef947e36..858feb8789a312baccfc2e2d2cb7e3b11208412e 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) {