Skip to content

Commit e095b94

Browse files
author
Ilia Alshanetsky
committed
Fixed compiler warnings
1 parent 5787b56 commit e095b94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/pdo_oci/oci_driver.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ static long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS
338338

339339
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) /* {{{ */
340340
{
341-
pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data;
342-
343341
return 0;
344342
}
345343
/* }}} */

ext/pdo_oci/oci_statement.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,12 +642,14 @@ static int oci_blob_flush(php_stream *stream TSRMLS_DC)
642642
return 0;
643643
}
644644

645+
/* TODO: implement
645646
static int oci_blob_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC)
646647
{
647648
struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract;
648-
/* TODO: implement */
649+
649650
return -1;
650651
}
652+
*/
651653

652654
static php_stream_ops oci_blob_stream_ops = {
653655
oci_blob_write,

0 commit comments

Comments
 (0)