From 942ccf676e35273e06c7ecd3c6934e683aec49dd Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 22 Jun 2009 09:31:33 +0000 Subject: merge r2952: ignore ngx_atomic_fetch_add() result this fixes building at least by gcc 4.2.1 on Mac OS X 10.6 --- src/mail/ngx_mail_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mail/ngx_mail_handler.c') diff --git a/src/mail/ngx_mail_handler.c b/src/mail/ngx_mail_handler.c index 44f202e13..9cc6a0787 100644 --- a/src/mail/ngx_mail_handler.c +++ b/src/mail/ngx_mail_handler.c @@ -710,7 +710,7 @@ ngx_mail_close_connection(ngx_connection_t *c) #endif #if (NGX_STAT_STUB) - ngx_atomic_fetch_add(ngx_stat_active, -1); + (void) ngx_atomic_fetch_add(ngx_stat_active, -1); #endif c->destroyed = 1; -- cgit