diff auto/os/solaris @ 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 62d8db8c7157
children
line wrap: on
line diff
--- a/auto/os/solaris
+++ b/auto/os/solaris
@@ -52,7 +52,7 @@ ngx_feature_run=no
 ngx_feature_incs="#include <port.h>"
 ngx_feature_path=
 ngx_feature_libs=
-ngx_feature_test="int n = port_create()"
+ngx_feature_test="(void) port_create()"
 . auto/feature
 
 if [ $ngx_found = yes ]; then