Skip to content

Commit 7103686

Browse files
committed
Fix [-Wmaybe-uninitialized] warnings
1 parent 142e15f commit 7103686

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2703,7 +2703,7 @@ static zend_always_inline void zend_fetch_property_address(zval *result, zval *c
27032703
{
27042704
zval *ptr;
27052705
zend_object *zobj;
2706-
zend_string *name, *tmp_name;
2706+
zend_string *name, *tmp_name = NULL;
27072707

27082708
if (container_op_type != IS_UNUSED && UNEXPECTED(Z_TYPE_P(container) != IS_OBJECT)) {
27092709
do {

ext/mysqlnd/mysqlnd_result.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ MYSQLND_METHOD(mysqlnd_res, fetch_into)(MYSQLND_RES * result, const unsigned int
17681768
static MYSQLND_ROW_C
17691769
MYSQLND_METHOD(mysqlnd_res, fetch_row_c)(MYSQLND_RES * result)
17701770
{
1771-
zend_bool fetched_anything;
1771+
zend_bool fetched_anything = 0;
17721772
MYSQLND_ROW_C ret = NULL;
17731773
DBG_ENTER("mysqlnd_res::fetch_row_c");
17741774

0 commit comments

Comments
 (0)