]> granicus.if.org Git - php/commitdiff
Removing last unused
authorLetargie <valentin@famillecollet.com>
Wed, 26 Sep 2018 11:40:41 +0000 (13:40 +0200)
committerLetargie <valentin@famillecollet.com>
Wed, 26 Sep 2018 11:40:41 +0000 (13:40 +0200)
ext/pdo_oci/oci_statement.c

index c9686f6d8cac4b1c444362386e43ab20128c3968..02d895f5dd87cbc94aee0ddfbd7ca09919082bc0 100644 (file)
@@ -793,7 +793,6 @@ static int oci_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, size_t *len
 static int oci_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) /* {{{ */
 {
        pdo_oci_stmt *S = (pdo_oci_stmt*)stmt->driver_data;
-       pdo_oci_column *C;
        OCIParam *param = NULL;
        ub2 dtype, precis;
        sb1 scale;
@@ -807,8 +806,6 @@ static int oci_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_val
                return FAILURE;
        }
 
-       C = &S->cols[colno];
-
        array_init(return_value);
        array_init(&flags);