Mercurial > hg > nginx
comparison auto/os/linux @ 6622:e393c0bf53d3
Configure: fix build with -Werror=unused-but-set-variable.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author | Piotr Sikora <piotrsikora@google.com> |
---|---|
date | Mon, 27 Jun 2016 15:00:03 -0700 |
parents | adba26ff70b5 |
children | 6acaa638fa07 |
comparison
equal
deleted
inserted
replaced
6621:0c3e464682e2 | 6622:e393c0bf53d3 |
---|---|
42 ngx_feature_libs= | 42 ngx_feature_libs= |
43 ngx_feature_test="int efd = 0; | 43 ngx_feature_test="int efd = 0; |
44 struct epoll_event ee; | 44 struct epoll_event ee; |
45 ee.events = EPOLLIN|EPOLLOUT|EPOLLET; | 45 ee.events = EPOLLIN|EPOLLOUT|EPOLLET; |
46 ee.data.ptr = NULL; | 46 ee.data.ptr = NULL; |
47 (void) ee; | |
47 efd = epoll_create(100); | 48 efd = epoll_create(100); |
48 if (efd == -1) return 1;" | 49 if (efd == -1) return 1;" |
49 . auto/feature | 50 . auto/feature |
50 | 51 |
51 if [ $ngx_found = yes ]; then | 52 if [ $ngx_found = yes ]; then |