]> git.kaiwu.me - njs.git/commitdiff
A build with -Werror=return-type has been fixed.
authorIgor Sysoev <igor@sysoev.ru>
Mon, 24 Oct 2016 14:23:00 +0000 (17:23 +0300)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 24 Oct 2016 14:23:00 +0000 (17:23 +0300)
Patch by Piotr Sikora.

nxt/auto/clang

index a67a92a0f27cb4a030497332b85a70db0c2b78ad..d14e9ecf728ab6792d10e454cae745773bd23f5f 100644 (file)
@@ -198,6 +198,7 @@ nxt_feature_incs=
 nxt_feature_libs=
 nxt_feature_test="int main(void) {
                       __builtin_prefetch(0);
+                      return 0;
                   }"
 . ${NXT_AUTO}feature