summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/pdo_pgsql/pgsql_statement.c4
-rw-r--r--ext/shmop/shmop.c1
-rw-r--r--ext/zip/php_zip.c2
3 files changed, 0 insertions, 7 deletions
diff --git a/ext/pdo_pgsql/pgsql_statement.c b/ext/pdo_pgsql/pgsql_statement.c
index dbda1548fc..6c41c220b8 100644
--- a/ext/pdo_pgsql/pgsql_statement.c
+++ b/ext/pdo_pgsql/pgsql_statement.c
@@ -51,10 +51,6 @@ static int pgsql_stmt_dtor(pdo_stmt_t *stmt TSRMLS_DC)
#if HAVE_PQPREPARE
if (S->stmt_name) {
- pdo_pgsql_db_handle *H = S->H;
- char *q = NULL;
- PGresult *res;
-
efree(S->stmt_name);
S->stmt_name = NULL;
}
diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c
index 0dc8b03cd5..e7e2de6aa1 100644
--- a/ext/shmop/shmop.c
+++ b/ext/shmop/shmop.c
@@ -267,7 +267,6 @@ PHP_FUNCTION(shmop_read)
int type;
char *startaddr;
int bytes;
- char *return_string;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &shmid, &start, &count) == FAILURE) {
return;
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index a21199cc49..220b6e8317 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -1734,8 +1734,6 @@ static ZIPARCHIVE_METHOD(statName)
long flags = 0;
struct zip_stat sb;
- int res = 0;
-
if (!this) {
RETURN_FALSE;
}