Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 278ba7d207404a30dec61bc5d8599311dc968e68 1 parent 05a862b
Yichun Zhang authored August 02, 2012
2  src/ngx_http_headers_more_util.c
@@ -375,8 +375,6 @@ ngx_http_headers_more_rm_header_helper(ngx_list_t *l, ngx_list_part_t *cur,
375 375
         l->last = new;
376 376
     }
377 377
 
378  
-    cur = new;
379  
-
380 378
     return NGX_OK;
381 379
 }
382 380
 
1  util/build.sh
@@ -10,6 +10,7 @@ force=$2
10 10
         #--with-cc=gcc46 \
11 11
 
12 12
 ngx-build $force $version \
  13
+        --with-ld-opt="-L$PCRE_LIB -Wl,-rpath,$PCRE_LIB:$LIBDRIZZLE_LIB:$LUAJIT_LIB:/usr/local/lib" \
13 14
         --without-mail_pop3_module \
14 15
         --without-mail_imap_module \
15 16
         --without-mail_smtp_module \

0 notes on commit 278ba7d

Please sign in to comment.
Something went wrong with that request. Please try again.