]> granicus.if.org Git - php/commitdiff
Remove redundant code (thanks to Jani for pointing that out)
authorZeev Suraski <zeev@php.net>
Sun, 12 May 2002 22:17:58 +0000 (22:17 +0000)
committerZeev Suraski <zeev@php.net>
Sun, 12 May 2002 22:17:58 +0000 (22:17 +0000)
main/output.c

index e05e1ecf107ee67ce28cd33df406dc1193df02c4..1461b370802ce9ff78071db9d1ea80483999f9d7 100644 (file)
@@ -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);