]> granicus.if.org Git - php/commitdiff
- Removed unused variables
authorFelipe Pena <felipe@php.net>
Fri, 15 Aug 2008 19:57:24 +0000 (19:57 +0000)
committerFelipe Pena <felipe@php.net>
Fri, 15 Aug 2008 19:57:24 +0000 (19:57 +0000)
ext/pdo_pgsql/pgsql_statement.c
ext/shmop/shmop.c
ext/zip/php_zip.c

index dbda1548fce922e16fda04e18b2fb1d2d3ba3e7b..6c41c220b8d46a79eda409f372999538272d07cc 100644 (file)
@@ -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;
        }
index 0dc8b03cd5dac37404765d9580cd8d28f9554e81..e7e2de6aa1b09cb454687e8a0fbe906a2c6d4027 100644 (file)
@@ -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;
index a21199cc497d7836b0af552e28cf2cf63e5f27cc..220b6e8317d09c0bf4e4fe21c40b95ee34c7e8b1 100644 (file)
@@ -1734,8 +1734,6 @@ static ZIPARCHIVE_METHOD(statName)
        long flags = 0;
        struct zip_stat sb;
 
-       int res = 0;
-
        if (!this) {
                RETURN_FALSE;
        }