From 5aeada0ee3e5f81010c7eb563ca71e044e6d1f22 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Wed, 15 Nov 2023 13:14:55 +0100 Subject: [PATCH] Fix potentially uninitialized warning on release build --- ext/pdo_odbc/odbc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo_odbc/odbc_driver.c b/ext/pdo_odbc/odbc_driver.c index 69ce9dde532..8f178ef7198 100644 --- a/ext/pdo_odbc/odbc_driver.c +++ b/ext/pdo_odbc/odbc_driver.c @@ -513,7 +513,7 @@ static int pdo_odbc_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ *db_end = '\0'; } - char *uid = NULL, *pwd = NULL, *dsn; + char *uid = NULL, *pwd = NULL, *dsn = NULL; bool should_quote_uid, should_quote_pwd; size_t new_dsn_size;