From fac97d5694f8d0da206b8f46489ca0e85ea99c81 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 15 Aug 2008 19:57:24 +0000 Subject: [PATCH] - Removed unused variables --- ext/pdo_pgsql/pgsql_statement.c | 4 ---- ext/shmop/shmop.c | 1 - ext/zip/php_zip.c | 2 -- 3 files changed, 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; } -- 2.50.1