diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-06-22 09:31:33 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-06-22 09:31:33 +0000 |
| commit | 942ccf676e35273e06c7ecd3c6934e683aec49dd (patch) | |
| tree | ea86bf7dd0218077dbfc195eaf08547291f6fdfc /src/mail/ngx_mail_handler.c | |
| parent | d49e7d869c1608e8f001967add48833cedd4038c (diff) | |
| download | nginx-942ccf676e35273e06c7ecd3c6934e683aec49dd.tar.gz nginx-942ccf676e35273e06c7ecd3c6934e683aec49dd.tar.bz2 | |
merge r2952:
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 '')
| -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; |
