[experimental-ims] ac37476 Add a dead reference to SES_DeletePool() to remind ourselves where it will be used from.

Geoff Simmons geoff at varnish-cache.org
Mon Jan 9 21:52:32 CET 2012


commit ac3747664187fc3487107aee51a776be343745c5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sun Nov 13 10:09:00 2011 +0000

    Add a dead reference to SES_DeletePool() to remind ourselves where
    it will be used from.

diff --git a/bin/varnishd/cache_pool.c b/bin/varnishd/cache_pool.c
index eaf7602..be49548 100644
--- a/bin/varnishd/cache_pool.c
+++ b/bin/varnishd/cache_pool.c
@@ -571,6 +571,8 @@ pool_poolherder(void *priv)
 			}
 		}
 		/* XXX: remove pools */
+		if (0)
+			SES_DeletePool(NULL, NULL);
 		(void)sleep(1);
 		u = 0;
 		VTAILQ_FOREACH(pp, &pools, list)



More information about the varnish-commit mailing list