cvs: php4 /ext/standard string.c

From: Date: Mon, 31 Mar 2003 12:08:31 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19874@lists.php.net to get a copy of this message
momo Mon Mar 31 07:08:31 2003 EDT Modified files: /php4/ext/standard string.c Log: # unnecessary condition here. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.364 php4/ext/standard/string.c:1.365 --- php4/ext/standard/string.c:1.364 Tue Mar 18 07:06:03 2003 +++ php4/ext/standard/string.c Mon Mar 31 07:08:31 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.364 2003/03/18 12:06:03 ssb Exp $ */ +/* $Id: string.c,v 1.365 2003/03/31 12:08:31 momo Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -2365,12 +2365,7 @@ l--; } } else { - if (s != t) { - *s++ = *t++; - } else { - s++; - t++; - } + *s++ = *t++; l--; } }

« previous php.cvs (#19874) next »