style fix: (void)

This commit is contained in:
Igor Sysoev 2009-04-24 14:45:52 +00:00
parent c134eb058d
commit a3041ac931

View File

@ -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);
}