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--; } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php