cvs: php4 /ext/standard html.c
| From: | Marcus B�rger | Date: | Wed, 23 Oct 2002 23:09:08 +0000 |
| Subject: | cvs: php4 /ext/standard html.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15248@lists.php.net to get a copy of this message | ||
helly Wed Oct 23 19:09:08 2002 EDT
Modified files:
/php4/ext/standard html.c
Log:
fix warning
Index: php4/ext/standard/html.c
diff -u php4/ext/standard/html.c:1.55 php4/ext/standard/html.c:1.56
--- php4/ext/standard/html.c:1.55 Tue Oct 22 16:11:48 2002
+++ php4/ext/standard/html.c Wed Oct 23 19:09:08 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: html.c,v 1.55 2002/10/22 20:11:48 moriyoshi Exp $ */
+/* $Id: html.c,v 1.56 2002/10/23 23:09:08 helly Exp $ */
#include "php.h"
#include "reg.h"
@@ -715,7 +715,7 @@
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++) {