From: Ilia Alshanetsky Date: Mon, 1 Jan 2007 19:24:50 +0000 (+0000) Subject: Fixed compiler warnings X-Git-Tag: php-5.2.1RC2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e095b9460999a0084e22b4c7c50bac8fb0199fde;p=php Fixed compiler warnings --- diff --git a/ext/pdo_oci/oci_driver.c b/ext/pdo_oci/oci_driver.c index 7b91ce8b72..a2a0964674 100755 --- a/ext/pdo_oci/oci_driver.c +++ b/ext/pdo_oci/oci_driver.c @@ -338,8 +338,6 @@ static long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS static int oci_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_type paramtype TSRMLS_DC) /* {{{ */ { - pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data; - return 0; } /* }}} */ diff --git a/ext/pdo_oci/oci_statement.c b/ext/pdo_oci/oci_statement.c index a6c090d5c1..8c5137a30f 100755 --- a/ext/pdo_oci/oci_statement.c +++ b/ext/pdo_oci/oci_statement.c @@ -642,12 +642,14 @@ static int oci_blob_flush(php_stream *stream TSRMLS_DC) return 0; } +/* TODO: implement static int oci_blob_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) { struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; - /* TODO: implement */ + return -1; } +*/ static php_stream_ops oci_blob_stream_ops = { oci_blob_write,