Skip to content

Commit ae3c3d5

Browse files
committed
Fix [-Wmaybe-uninitialized] warnings
1 parent a59aba5 commit ae3c3d5

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
@@ -2655,7 +2655,7 @@ static zend_always_inline void zend_fetch_property_address(zval *result, zval *c
26552655
{
26562656
zval *ptr;
26572657
zend_object *zobj;
2658-
zend_string *name, *tmp_name;
2658+
zend_string *name, *tmp_name = NULL;
26592659

26602660
if (container_op_type != IS_UNUSED && UNEXPECTED(Z_TYPE_P(container) != IS_OBJECT)) {
26612661
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)