From: Zeev Suraski Date: Sun, 12 May 2002 22:17:58 +0000 (+0000) Subject: Remove redundant code (thanks to Jani for pointing that out) X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2369533bf9dc68dd6d2ff8c2b86ac48917a808b2;p=php Remove redundant code (thanks to Jani for pointing that out) --- diff --git a/main/output.c b/main/output.c index e05e1ecf10..1461b37080 100644 --- a/main/output.c +++ b/main/output.c @@ -457,17 +457,11 @@ static int php_b_body_write(const char *str, uint str_length TSRMLS_DC) */ static int php_ub_body_write_no_header(const char *str, uint str_length TSRMLS_DC) { - char *newstr = NULL; - size_t new_length=0; int result; if (OG(disable_output)) { return 0; } - if (newstr) { - str = newstr; - str_length = new_length; - } result = OG(php_header_write)(str, str_length TSRMLS_CC);