[master] 46726b2 gc duplicate statement with no effect

Nils Goroll nils.goroll at uplex.de
Fri May 18 13:02:06 UTC 2018


commit 46726b2da26c248084ee02d78a698f3766d6ac11
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri May 18 14:58:27 2018 +0200

    gc duplicate statement with no effect

diff --git a/bin/varnishd/cache/cache_gzip.c b/bin/varnishd/cache/cache_gzip.c
index 3694c0a..d5d256d 100644
--- a/bin/varnishd/cache/cache_gzip.c
+++ b/bin/varnishd/cache/cache_gzip.c
@@ -620,7 +620,6 @@ vfp_testgunzip_pull(struct vfp_ctx *vc, struct vfp_entry *vfe, void *p,
 	CAST_OBJ_NOTNULL(vg, vfe->priv1, VGZ_MAGIC);
 	AN(p);
 	AN(lp);
-	CAST_OBJ_NOTNULL(vg, vfe->priv1, VGZ_MAGIC);
 	vp = VFP_Suck(vc, p, lp);
 	if (vp == VFP_ERROR)
 		return (vp);


More information about the varnish-commit mailing list