diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-24 18:45:52 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-24 18:45:52 +0400 |
commit | a3041ac9316a239c03da3d29c6512c5e99b1e057 (patch) | |
tree | 738d9e355416e31bc49496d71445e55c58a528cc /src/core/ngx_log.c | |
parent | c134eb058dc9a2a14921da8ea87926aca2cdab33 (diff) |
style fix: (void)
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index 58e1b0897..e82e32dec 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -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); } |