[master] a7055b351 gc a duplicate initialization

Nils Goroll nils.goroll at uplex.de
Wed Sep 9 13:08:06 UTC 2020


commit a7055b351d8d2d49364397f7fd6fe2e16aeda292
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Sep 9 15:03:48 2020 +0200

    gc a duplicate initialization

diff --git a/bin/varnishd/cache/cache_vrt.c b/bin/varnishd/cache/cache_vrt.c
index 144736ae0..aef672e27 100644
--- a/bin/varnishd/cache/cache_vrt.c
+++ b/bin/varnishd/cache/cache_vrt.c
@@ -561,7 +561,6 @@ VRT_UpperLowerStrands(VRT_CTX, VCL_STRANDS s, int up)
 			continue;
 		if (q != NULL)
 			copy = 1;
-		p = q = s->p[i];
 		for(p = q = s->p[i]; *p != '\0'; p++) {
 			if ((up && vct_islower(*p)) ||
 			    (!up && vct_isupper(*p))) {


More information about the varnish-commit mailing list