summaryrefslogtreecommitdiff
path: root/src/mod_proxy.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 18:01:52 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 22:51:32 -0400
commit28f1867c11d4e5b7ab0e263caf45441fc6237767 (patch)
tree0999c095c31cdc2e5ecf116110608f4a69d55df7 /src/mod_proxy.c
parent98a224a4a286688d87f7c80dbf5a3a202f0f89d5 (diff)
downloadlighttpd-git-28f1867c11d4e5b7ab0e263caf45441fc6237767.tar.gz
quiet clang analyzer scan-build warnings
(expansion of buffer_string_lenth() inline function and CONST_BUF_LEN() macro, which always check for NULL, appears to cause the analyzer to believe that a pointer might be NULL in cases where it otherwise can not be NULL) x-ref: http://clang-analyzer.llvm.org/faq.html
Diffstat (limited to 'src/mod_proxy.c')
-rw-r--r--src/mod_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_proxy.c b/src/mod_proxy.c
index 80d9a9b4..9a665ed6 100644
--- a/src/mod_proxy.c
+++ b/src/mod_proxy.c
@@ -786,7 +786,7 @@ static void proxy_set_Forwarded(connection * const con, request_st * const r, co
buffer_append_string_backslash_escaped(
b, CONST_BUF_LEN(remote_user));
buffer_append_string_len(b, CONST_STR_LEN("\""));
- semicolon = 1;
+ /*semicolon = 1;*/
}
}