]> granicus.if.org Git - php/commitdiff
fix warning
authorMarcus Boerger <helly@php.net>
Wed, 23 Oct 2002 23:09:08 +0000 (23:09 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 23 Oct 2002 23:09:08 +0000 (23:09 +0000)
ext/standard/html.c

index 3d329f3e3a8952fc14e147b1174f81803b07ec92..5a7d0a664e3cdd14796f8c97b66e93ffb75f2fc4 100644 (file)
@@ -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++) {