Permalink
Browse files

bugfix: fixed a set-but-not-read warning from the clang static analyzer.

  • Loading branch information...
1 parent 05a862b commit 278ba7d207404a30dec61bc5d8599311dc968e68 @agentzh agentzh committed Aug 2, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −2 src/ngx_http_headers_more_util.c
  2. +1 −0 util/build.sh
@@ -375,8 +375,6 @@ ngx_http_headers_more_rm_header_helper(ngx_list_t *l, ngx_list_part_t *cur,
l->last = new;
}
- cur = new;
-
return NGX_OK;
}
View
@@ -10,6 +10,7 @@ force=$2
#--with-cc=gcc46 \
ngx-build $force $version \
+ --with-ld-opt="-L$PCRE_LIB -Wl,-rpath,$PCRE_LIB:$LIBDRIZZLE_LIB:$LUAJIT_LIB:/usr/local/lib" \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module \

0 comments on commit 278ba7d

Please sign in to comment.