mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
omit unnecessary XSRETURN_EMPTY
This commit is contained in:
parent
03afa34c96
commit
5aca0e4678
1 changed files with 0 additions and 12 deletions
|
|
@ -472,8 +472,6 @@ header_out(r, key, value)
|
|||
r->headers_out.content_length = header;
|
||||
}
|
||||
|
||||
XSRETURN_EMPTY;
|
||||
|
||||
|
||||
void
|
||||
filename(r)
|
||||
|
|
@ -600,8 +598,6 @@ print(r, ...)
|
|||
|
||||
(void) ngx_http_perl_output(r, b);
|
||||
|
||||
XSRETURN_EMPTY;
|
||||
|
||||
|
||||
void
|
||||
sendfile(r, filename, offset = -1, bytes = 0)
|
||||
|
|
@ -688,8 +684,6 @@ sendfile(r, filename, offset = -1, bytes = 0)
|
|||
|
||||
(void) ngx_http_perl_output(r, b);
|
||||
|
||||
XSRETURN_EMPTY;
|
||||
|
||||
|
||||
void
|
||||
flush(r)
|
||||
|
|
@ -755,8 +749,6 @@ allow_ranges(r)
|
|||
|
||||
r->allow_ranges = 1;
|
||||
|
||||
XSRETURN_EMPTY;
|
||||
|
||||
|
||||
void
|
||||
unescape(r, text, type = 0)
|
||||
|
|
@ -953,8 +945,6 @@ sleep(r, sleep, next)
|
|||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
"perl sleep: %d", ctx->sleep);
|
||||
|
||||
XSRETURN_EMPTY;
|
||||
|
||||
|
||||
void
|
||||
log_error(r, err, msg)
|
||||
|
|
@ -985,5 +975,3 @@ log_error(r, err, msg)
|
|||
p = (u_char *) SvPV(msg, len);
|
||||
|
||||
ngx_log_error(NGX_LOG_ERR, r->connection->log, e, "perl: %s", p);
|
||||
|
||||
XSRETURN_EMPTY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue