cvs: php4 /ext/standard string.c

From: Date: Sat, 04 May 2002 17:38:45 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11683@lists.php.net to get a copy of this message
sas Sat May 4 13:38:45 2002 EDT Modified files: /php4/ext/standard string.c Log: block_ended/opposite_target were set but never used Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.270 php4/ext/standard/string.c:1.271 --- php4/ext/standard/string.c:1.270 Thu Apr 25 10:43:40 2002 +++ php4/ext/standard/string.c Sat May 4 13:38:45 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.270 2002/04/25 14:43:40 hirokawa Exp $ */ +/* $Id: string.c,v 1.271 2002/05/04 17:38:45 sas Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -2800,9 +2800,8 @@ static void php_hebrev(INTERNAL_FUNCTION_PARAMETERS, int convert_newlines) { zval **str, **max_chars_per_line; - char *heb_str, *tmp, *target, *opposite_target, *broken_str; + char *heb_str, *tmp, *target, *broken_str; int block_start, block_end, block_type, block_length, i; - int block_ended; long max_chars=0; int begin, end, char_count, orig_begin; @@ -2833,11 +2832,9 @@ tmp = Z_STRVAL_PP(str); block_start=block_end=0; - block_ended=0; heb_str = (char *) emalloc(Z_STRLEN_PP(str)+1); target = heb_str+Z_STRLEN_PP(str); - opposite_target = heb_str; *target = 0; target--;

« previous php.cvs (#11683) next »