[master] 1cab51e flexelint 838: Previously assigned value ... has not been used
Nils Goroll
nils.goroll at uplex.de
Thu Apr 5 10:08:10 UTC 2018
commit 1cab51e780dbd51947e69359c04d6c633de619eb
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Apr 5 11:50:34 2018 +0200
flexelint 838: Previously assigned value ... has not been used
diff --git a/bin/varnishd/proxy/cache_proxy_proto.c b/bin/varnishd/proxy/cache_proxy_proto.c
index 5f821ac..022224d 100644
--- a/bin/varnishd/proxy/cache_proxy_proto.c
+++ b/bin/varnishd/proxy/cache_proxy_proto.c
@@ -311,7 +311,7 @@ vpx_proto2(const struct worker *wrk, struct req *req)
int l, hdr_len;
uintptr_t *up;
uint16_t *tlv_len_p;
- uint16_t tlv_len = 0;
+ uint16_t tlv_len;
const uint8_t *p;
char *d, *tlv_start;
sa_family_t pfam = 0xff;
More information about the varnish-commit
mailing list