mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Fixed compilation warnings in configuration C tests.
Based on a patch by Piotr Sikora.
This commit is contained in:
@@ -52,7 +52,7 @@ ngx_feature_run=yes
|
||||
ngx_feature_incs="#include <sys/epoll.h>"
|
||||
ngx_feature_path=
|
||||
ngx_feature_libs=
|
||||
ngx_feature_test="int efd = 0, fd = 1, n;
|
||||
ngx_feature_test="int efd = 0;
|
||||
struct epoll_event ee;
|
||||
ee.events = EPOLLIN|EPOLLOUT|EPOLLET;
|
||||
ee.data.ptr = NULL;
|
||||
@@ -142,7 +142,7 @@ ngx_feature_incs="#include <crypt.h>"
|
||||
ngx_feature_path=
|
||||
ngx_feature_libs=-lcrypt
|
||||
ngx_feature_test="struct crypt_data cd;
|
||||
crypt_r(NULL, NULL, &cd);"
|
||||
crypt_r(\"key\", \"salt\", &cd);"
|
||||
. auto/feature
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user