]> granicus.if.org Git - php/commitdiff
Fixed compiler warnings
authorIlia Alshanetsky <iliaa@php.net>
Mon, 1 Jan 2007 19:24:50 +0000 (19:24 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 1 Jan 2007 19:24:50 +0000 (19:24 +0000)
ext/pdo_oci/oci_driver.c
ext/pdo_oci/oci_statement.c

index 7b91ce8b729452a15d3a6d38a1b674b91dde059d..a2a0964674b26eb3ebd63661099ec1dd02fef54f 100755 (executable)
@@ -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;
 }
 /* }}} */
index a6c090d5c185d63dabd50ceb43aae7c9cfdfaecb..8c5137a30f4fd7572f0b848d8d998c724d464664 100755 (executable)
@@ -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,