[master] e9b41f869 Flexelinting

Nils Goroll nils.goroll at uplex.de
Wed Aug 10 09:13:05 UTC 2022


commit e9b41f869f6dad11636376608d3af84f1726c528
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Aug 10 11:09:11 2022 +0200

    Flexelinting
    
    based on my local installation, which is a bit more picky than
    the v-c.o one.

diff --git a/bin/varnishd/cache/cache_conn_pool.c b/bin/varnishd/cache/cache_conn_pool.c
index 2a2a76ca8..f5bdbb015 100644
--- a/bin/varnishd/cache/cache_conn_pool.c
+++ b/bin/varnishd/cache/cache_conn_pool.c
@@ -37,7 +37,6 @@
 
 #include "cache_varnishd.h"
 
-#include "vend.h"
 #include "vsa.h"
 #include "vsha256.h"
 #include "vtcp.h"
diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index 31b98c9c5..658f927b0 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -616,7 +616,7 @@ pan_backtrace(struct vsb *vsb)
 
 #else /* WITH_UNWIND */
 
-#if ENABLE_SANITIZER
+#if defined(ENABLE_SANITIZER)
 #  define BACKTRACE_LEVELS	20
 #else
 #  define BACKTRACE_LEVELS	10
diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 9965ea656..544359db9 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -52,7 +52,6 @@
 #include "libvcc.h"
 #include "vcli_serve.h"
 #include "vct.h"
-#include "vend.h"
 #include "vev.h"
 #include "vfil.h"
 #include "vin.h"


More information about the varnish-commit mailing list