diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-11-16 17:33:39 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-11-16 17:33:39 +0000 |
commit | c7d84b74513524a477288a4e680c804b5c782603 (patch) | |
tree | 6db0db15c7e80e497669f487b39e7bc9adff363a /ext/pdo_firebird/firebird_driver.c | |
parent | 133bdb42e379265c3026d70636c4871ac3af989e (diff) | |
download | php-git-c7d84b74513524a477288a4e680c804b5c782603.tar.gz |
Fixed compiler warnings
Diffstat (limited to 'ext/pdo_firebird/firebird_driver.c')
-rw-r--r-- | ext/pdo_firebird/firebird_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_firebird/firebird_driver.c b/ext/pdo_firebird/firebird_driver.c index 84d7d2972d..b883422ca7 100644 --- a/ext/pdo_firebird/firebird_driver.c +++ b/ext/pdo_firebird/firebird_driver.c @@ -38,8 +38,10 @@ static int firebird_alloc_prepare_stmt(pdo_dbh_t*, const char*, long, XSQLDA*, i /* map driver specific error message to PDO error */ void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, long line TSRMLS_DC) /* {{{ */ { +#if 0 pdo_firebird_db_handle *H = stmt ? ((pdo_firebird_stmt *)stmt->driver_data)->H : (pdo_firebird_db_handle *)dbh->driver_data; +#endif pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; #if 0 |