diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-06-18 13:14:51 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-06-18 13:14:51 +0000 |
commit | a5fe5881c6d38983e868cc7918008529fb6ab710 (patch) | |
tree | d72c0b8d8d1ff2fc586f56a90e1cdcd064a9fe37 /src/mail/ngx_mail_handler.c | |
parent | 1f823708e07c3ecf3d1e71ca73730b737d3b5659 (diff) | |
download | nginx-a5fe5881c6d38983e868cc7918008529fb6ab710.tar.gz nginx-a5fe5881c6d38983e868cc7918008529fb6ab710.zip |
ignore ngx_atomic_fetch_add() result
this fixes building at least by gcc 4.2.1 on Mac OS X 10.6
Diffstat (limited to 'src/mail/ngx_mail_handler.c')
-rw-r--r-- | src/mail/ngx_mail_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |