Skip to content

Commit 45aa53f

Browse files
committed
Initialize struct to avoid errors
1 parent 2a47a9d commit 45aa53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_memcached.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ static PHP_METHOD(Memcached, __construct)
371371
char *plist_key = NULL;
372372
int plist_key_len = 0;
373373

374-
zend_fcall_info fci;
374+
zend_fcall_info fci = {0};
375375
zend_fcall_info_cache fci_cache;
376376

377377
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!f!s", &persistent_id, &persistent_id_len, &fci, &fci_cache, &conn_str, &conn_str_len) == FAILURE) {

0 commit comments

Comments
 (0)