From: Marcus Boerger Date: Wed, 23 Oct 2002 23:09:08 +0000 (+0000) Subject: fix warning X-Git-Tag: php-4.3.0pre2~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37d2a1dd0804f2d785200fd9ffb5e27828754c18;p=php fix warning --- diff --git a/ext/standard/html.c b/ext/standard/html.c index 3d329f3e3a..5a7d0a664e 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -715,7 +715,7 @@ PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newle if (all) { /* look for a match in the maps for this charset */ - unsigned char *rep; + unsigned char *rep = NULL; for (j = 0; entity_map[j].charset != cs_terminator; j++) {