[master] 0690efa Remove duplicated asserts

Poul-Henning Kamp phk at FreeBSD.org
Sat Feb 25 22:57:05 CET 2017


commit 0690efa6b39ec1eb2e3660d273c9f5fa1701b419
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Feb 25 21:52:04 2017 +0000

    Remove duplicated asserts

diff --git a/bin/varnishd/http1/cache_http1_vfp.c b/bin/varnishd/http1/cache_http1_vfp.c
index d287fa5..f1d85a8 100644
--- a/bin/varnishd/http1/cache_http1_vfp.c
+++ b/bin/varnishd/http1/cache_http1_vfp.c
@@ -109,8 +109,6 @@ v1f_pull_chunked(struct vfp_ctx *vc, struct vfp_entry *vfe, void *ptr,
 	AN(ptr);
 	AN(lp);
 
-	AN(ptr);
-	AN(lp);
 	l = *lp;
 	*lp = 0;
 	if (vfe->priv2 == -1) {



More information about the varnish-commit mailing list