Skip to content

Commit 5aeada0

Browse files
committed
Fix potentially uninitialized warning on release build
1 parent bef97fb commit 5aeada0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_odbc/odbc_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ static int pdo_odbc_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{
513513
*db_end = '\0';
514514
}
515515

516-
char *uid = NULL, *pwd = NULL, *dsn;
516+
char *uid = NULL, *pwd = NULL, *dsn = NULL;
517517
bool should_quote_uid, should_quote_pwd;
518518
size_t new_dsn_size;
519519

0 commit comments

Comments
 (0)