summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/libgd
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2018-07-24 18:46:54 +0300
committerSergey Kandaurov <pluknet@nginx.com>2018-07-24 18:46:54 +0300
commitd5c43bf51c9c62d26c4c2c09a4a337d8b8b1c060 (patch)
tree02cf43eaf5f1b8c451b0ecf30455fd15ae7a956e /auto/lib/libgd
parenta1e2c5566c628dbf39e3f6c105ddc1dde5b41a58 (diff)
downloadnginx-d5c43bf51c9c62d26c4c2c09a4a337d8b8b1c060.tar.gz
nginx-d5c43bf51c9c62d26c4c2c09a4a337d8b8b1c060.tar.bz2
Configure: fixed compiler warnings with "-Wall -Wextra".
Diffstat (limited to 'auto/lib/libgd')
-rw-r--r--auto/lib/libgd/conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/auto/lib/libgd/conf b/auto/lib/libgd/conf
index 87761f14d..678639767 100644
--- a/auto/lib/libgd/conf
+++ b/auto/lib/libgd/conf
@@ -9,7 +9,8 @@
ngx_feature_incs="#include <gd.h>"
ngx_feature_path=
ngx_feature_libs="-lgd"
- ngx_feature_test="gdImagePtr img = gdImageCreateFromGifPtr(1, NULL);"
+ ngx_feature_test="gdImagePtr img = gdImageCreateFromGifPtr(1, NULL);
+ (void) img"
. auto/feature
@@ -76,7 +77,8 @@ if [ $ngx_found = yes ]; then
ngx_feature="GD WebP support"
ngx_feature_name="NGX_HAVE_GD_WEBP"
- ngx_feature_test="gdImagePtr img = gdImageCreateFromWebpPtr(1, NULL);"
+ ngx_feature_test="gdImagePtr img = gdImageCreateFromWebpPtr(1, NULL);
+ (void) img"
. auto/feature
else