cvs: php4 /ext/mbstring mbstring.c

From: Date: Thu, 24 Oct 2002 19:09:05 +0000
Subject: cvs: php4 /ext/mbstring mbstring.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15388@lists.php.net to get a copy of this message
helly Thu Oct 24 15:09:05 2002 EDT Modified files: /php4/ext/mbstring mbstring.c Log: fix compiler warning Index: php4/ext/mbstring/mbstring.c diff -u php4/ext/mbstring/mbstring.c:1.120 php4/ext/mbstring/mbstring.c:1.121 --- php4/ext/mbstring/mbstring.c:1.120 Wed Oct 23 19:25:26 2002 +++ php4/ext/mbstring/mbstring.c Thu Oct 24 15:09:04 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mbstring.c,v 1.120 2002/10/23 23:25:26 moriyoshi Exp $ */ +/* $Id: mbstring.c,v 1.121 2002/10/24 19:09:04 helly Exp $ */ /* * PHP4 Multibyte String module "mbstring" (currently only for Japanese) @@ -3475,7 +3475,7 @@ PHPAPI char *php_mb_safe_strrchr_ex(const char *s, unsigned int c, size_t nbytes, const mbfl_encoding *enc) { register const char *p = s; - char *last; + char *last=NULL; if (nbytes == (size_t)-1) { while (*p != '\0') {

« previous php.cvs (#15388) next »