diff options
author | Ard Biesheuvel <abies@php.net> | 2004-06-12 22:17:16 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2004-06-12 22:17:16 +0000 |
commit | e1519d6f174ed6b86edb22294a966832a1dc6666 (patch) | |
tree | 897e0b046a142360ebe97a623db70317fb2c743c /ext/pdo_firebird/firebird_statement.c | |
parent | c84c5640e7f38cab0c55fe599259352f2cd66f9e (diff) | |
download | php-git-e1519d6f174ed6b86edb22294a966832a1dc6666.tar.gz |
GCC fixes
Diffstat (limited to 'ext/pdo_firebird/firebird_statement.c')
-rw-r--r-- | ext/pdo_firebird/firebird_statement.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c index a3f9fe8b47..a3ab575aaa 100644 --- a/ext/pdo_firebird/firebird_statement.c +++ b/ext/pdo_firebird/firebird_statement.c @@ -109,7 +109,7 @@ static int firebird_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ return 1; } while (0); - RECORD_ERROR(stmt->dbh); + RECORD_ERROR(stmt); return 0; } @@ -163,6 +163,7 @@ static int firebird_stmt_describe(pdo_stmt_t *stmt, int colno TSRMLS_DC) /* {{{ return 1; } +/* }}} */ /* internal function to override return types of parameters */ static void set_param_type(enum pdo_param_type *param_type, XSQLVAR const *var) /* {{{ */ @@ -419,6 +420,8 @@ static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_dat return 1; } return 0; + default: + ; } return 1; } |