From: Sterling Hughes Date: Thu, 5 Jun 2003 18:29:55 +0000 (+0000) Subject: initialize the encoding length X-Git-Tag: RELEASE_1_0_2~408 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a957b66dc890f2806af8b140fa1f4b0aee82ea75;p=php initialize the encoding length --- diff --git a/ext/dom/document.c b/ext/dom/document.c index a323e73289..baf3be102b 100644 --- a/ext/dom/document.c +++ b/ext/dom/document.c @@ -941,7 +941,7 @@ PHP_FUNCTION(dom_document_document) xmlDoc *docp = NULL, *olddoc; dom_object *intern; char *encoding, *version = NULL; - int encoding_len, version_len; + int encoding_len = 0, version_len; id = getThis();