From 2369533bf9dc68dd6d2ff8c2b86ac48917a808b2 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 12 May 2002 22:17:58 +0000 Subject: [PATCH] Remove redundant code (thanks to Jani for pointing that out) --- main/output.c | 6 ------ 1 file changed, 6 deletions(-) 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); -- 2.50.1