1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 00:22:52 +02:00

PDO Firebird: Fix uninitialized var warning

This commit is contained in:
Nikita Popov
2020-12-21 20:04:26 +01:00
parent 0dfc4e7e41
commit cc23fcfca6

View File

@@ -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);