mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
PDO Firebird: Fix uninitialized var warning
This commit is contained in:
parent
0dfc4e7e41
commit
cc23fcfca6
1 changed files with 2 additions and 0 deletions
|
@ -368,6 +368,8 @@ static int firebird_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, /* {{
|
|||
break;
|
||||
case SQL_INT64:
|
||||
n = *(ISC_INT64*)var->sqldata;
|
||||
break;
|
||||
EMPTY_SWITCH_DEFAULT_CASE()
|
||||
}
|
||||
|
||||
*ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue