[njs] A build with -Werror=return-type has been fixed.

Igor Sysoev igor at sysoev.ru
Mon Oct 24 15:53:46 UTC 2016


details:   http://hg.nginx.org/njs/rev/eef409d1d4be
branches:  
changeset: 217:eef409d1d4be
user:      Igor Sysoev <igor at sysoev.ru>
date:      Mon Oct 24 17:23:00 2016 +0300
description:
A build with -Werror=return-type has been fixed.

Patch by Piotr Sikora.

diffstat:

 nxt/auto/clang |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f87eefdd2c3d -r eef409d1d4be nxt/auto/clang
--- a/nxt/auto/clang	Mon Oct 24 17:16:10 2016 +0300
+++ b/nxt/auto/clang	Mon Oct 24 17:23:00 2016 +0300
@@ -198,6 +198,7 @@ nxt_feature_incs=
 nxt_feature_libs=
 nxt_feature_test="int main(void) {
                       __builtin_prefetch(0);
+                      return 0;
                   }"
 . ${NXT_AUTO}feature
 



More information about the nginx-devel mailing list