mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
style fix: (void)
This commit is contained in:
parent
c134eb058d
commit
a3041ac931
@ -174,7 +174,7 @@ ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
|
||||
|
||||
(void) ngx_sprintf(msg, "[%V]: ", &err_levels[level]);
|
||||
|
||||
ngx_write_fd(ngx_stderr, msg, p - msg);
|
||||
(void) ngx_write_fd(ngx_stderr, msg, p - msg);
|
||||
}
|
||||
|
||||
|
||||
@ -259,7 +259,7 @@ ngx_log_stderr(ngx_err_t err, const char *fmt, ...)
|
||||
|
||||
ngx_linefeed(p);
|
||||
|
||||
ngx_write_fd(ngx_stderr, errstr, p - errstr);
|
||||
(void) ngx_write_fd(ngx_stderr, errstr, p - errstr);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user