[master] b9ea8cd Drop pointless assert.

Poul-Henning Kamp phk at FreeBSD.org
Mon Jan 8 23:22:03 UTC 2018


commit b9ea8cd15a49aca30d9944698ad2703f10a73255
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jan 8 23:21:38 2018 +0000

    Drop pointless assert.

diff --git a/lib/libvarnishapi/vsm.c b/lib/libvarnishapi/vsm.c
index 9842874..889a25e 100644
--- a/lib/libvarnishapi/vsm.c
+++ b/lib/libvarnishapi/vsm.c
@@ -714,7 +714,6 @@ VSM_Map(struct vsm *vd, struct vsm_fantom *vf)
 
 	ps = getpagesize();
 	of = strtoul(vg->av[2], NULL, 10);
-	assert(of >= 0);
 	off = RDN2(of, ps);
 
 	sz = strtoul(vg->av[3], NULL, 10);


More information about the varnish-commit mailing list