Skip to content

Commit cc23fcf

Browse files
committed
PDO Firebird: Fix uninitialized var warning
1 parent 0dfc4e7 commit cc23fcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/pdo_firebird/firebird_statement.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ static int firebird_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, /* {{
368368
break;
369369
case SQL_INT64:
370370
n = *(ISC_INT64*)var->sqldata;
371+
break;
372+
EMPTY_SWITCH_DEFAULT_CASE()
371373
}
372374

373375
*ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL);

0 commit comments

Comments
 (0)