diff options
| author | Sascha Schumann <sas@php.net> | 2002-05-04 17:38:45 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2002-05-04 17:38:45 +0000 |
| commit | ea84524bc269878202661728918788a20e3f670b (patch) | |
| tree | c7a3df8b344a8caaa914cbf6f5950fa803fd1423 /ext/standard/string.c | |
| parent | a6c3ce15ae02996b04f0af01f3331a70ed666e98 (diff) | |
| download | php-git-ea84524bc269878202661728918788a20e3f670b.tar.gz | |
block_ended/opposite_target were set but never used
Diffstat (limited to 'ext/standard/string.c')
| -rw-r--r-- | ext/standard/string.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index fd409ee8ad..017a26a0ee 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -2800,9 +2800,8 @@ PHP_FUNCTION(str_replace) 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 @@ static void php_hebrev(INTERNAL_FUNCTION_PARAMETERS, int convert_newlines) 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--; |
