Skip to content

Commit e8f0bdc

Browse files
committed
Fix ?
1 parent 6560c9b commit e8f0bdc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ext/dom/document.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ PHP_METHOD(DOMDocument, prepend)
21832183
*/
21842184
PHP_METHOD(DOMDocument, replaceChildren)
21852185
{
2186-
uint32_t argc;
2186+
uint32_t argc = 0;
21872187
zval *args;
21882188
dom_object *intern;
21892189

ext/dom/documentfragment.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ PHP_METHOD(DOMDocumentFragment, prepend)
135135
*/
136136
PHP_METHOD(DOMDocumentFragment, replaceChildren)
137137
{
138-
uint32_t argc;
138+
uint32_t argc = 0;
139139
zval *args;
140140
dom_object *intern;
141141

ext/dom/element.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ PHP_METHOD(DOMElement, replaceWith)
13001300
*/
13011301
PHP_METHOD(DOMElement, replaceChildren)
13021302
{
1303-
uint32_t argc;
1303+
uint32_t argc = 0;
13041304
zval *args;
13051305
dom_object *intern;
13061306

0 commit comments

Comments
 (0)