summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mbstring/mbstring.c2
-rw-r--r--ext/xsl/xsltprocessor.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
index accbe2a208..858feb8789 100644
--- a/ext/mbstring/mbstring.c
+++ b/ext/mbstring/mbstring.c
@@ -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
diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c
index 59c8bed8b0..2aa4479e27 100644
--- a/ext/xsl/xsltprocessor.c
+++ b/ext/xsl/xsltprocessor.c
@@ -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) {