diff options
| author | Sterling Hughes <sterling@php.net> | 2003-06-05 18:29:55 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2003-06-05 18:29:55 +0000 |
| commit | a957b66dc890f2806af8b140fa1f4b0aee82ea75 (patch) | |
| tree | 0ff7182eb71702b61c46ab91714fedad6db2391c /ext/dom/document.c | |
| parent | cf0087ef345423d6a762e78d3daff1f03920d4ac (diff) | |
| download | php-git-a957b66dc890f2806af8b140fa1f4b0aee82ea75.tar.gz | |
initialize the encoding length
Diffstat (limited to 'ext/dom/document.c')
| -rw-r--r-- | ext/dom/document.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
