Skip to content

Commit 098d2a5

Browse files
committed
fix possibly uninitialized value
1 parent 86aad97 commit 098d2a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/dom/document.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ PHP_FUNCTION(dom_document_save_html)
22962296
xmlBufferPtr buf;
22972297
dom_object *intern, *nodeobj;
22982298
xmlChar *mem = NULL;
2299-
int size, format;
2299+
int size = 0, format;
23002300
dom_doc_propsptr doc_props;
23012301

23022302
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),

0 commit comments

Comments
 (0)