[master] c3610d36e Monday morning flexelinting

Poul-Henning Kamp phk at FreeBSD.org
Mon Jun 3 07:23:11 UTC 2019


commit c3610d36ef906c869e8e94f3a54b09d1e859d3b6
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jun 3 06:00:18 2019 +0000

    Monday morning flexelinting

diff --git a/bin/varnishd/cache/cache_ban_lurker.c b/bin/varnishd/cache/cache_ban_lurker.c
index 2d7f7f03f..4d0453807 100644
--- a/bin/varnishd/cache/cache_ban_lurker.c
+++ b/bin/varnishd/cache/cache_ban_lurker.c
@@ -105,6 +105,7 @@ ban_cleantail(struct banhead_s *obans)
 		bt = NULL;
 
 	if (bt != NULL) {
+		AN(obans);
 		VTAILQ_FOREACH(b, &freelist, list) {
 			if (b != bt)
 				continue;
diff --git a/bin/varnishd/mgt/mgt_symtab.c b/bin/varnishd/mgt/mgt_symtab.c
index be80ec593..b8ef07d3a 100644
--- a/bin/varnishd/mgt/mgt_symtab.c
+++ b/bin/varnishd/mgt/mgt_symtab.c
@@ -41,7 +41,6 @@
 #include "mgt/mgt_vcl.h"
 
 #include "vcli_serve.h"
-#include "libvcc.h"
 #include "vjsn.h"
 
 /*--------------------------------------------------------------------*/


More information about the varnish-commit mailing list