summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2002-05-12 22:17:58 +0000
committerZeev Suraski <zeev@php.net>2002-05-12 22:17:58 +0000
commit2369533bf9dc68dd6d2ff8c2b86ac48917a808b2 (patch)
tree729b6ce7c203fb46c9d5ac8387ff6d290cd95bc3 /main
parent3bc12ac2423f9e8af5d1481b9e997662d1e248f6 (diff)
downloadphp-git-2369533bf9dc68dd6d2ff8c2b86ac48917a808b2.tar.gz
Remove redundant code (thanks to Jani for pointing that out)
Diffstat (limited to 'main')
-rw-r--r--main/output.c6
1 files changed, 0 insertions, 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);