[master] 3aa44b7cd flexelint 1bb782cb99e8ca1ef91ed48c7460873bb1559266

Nils Goroll nils.goroll at uplex.de
Tue Jan 12 15:44:07 UTC 2021


commit 3aa44b7cdc238025c8a714d131502fbc36e59c1e
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jan 12 16:43:28 2021 +0100

    flexelint 1bb782cb99e8ca1ef91ed48c7460873bb1559266

diff --git a/bin/varnishd/mgt/mgt_vcl.c b/bin/varnishd/mgt/mgt_vcl.c
index d852ae375..f4f7f7f23 100644
--- a/bin/varnishd/mgt/mgt_vcl.c
+++ b/bin/varnishd/mgt/mgt_vcl.c
@@ -61,7 +61,7 @@ static const struct vclstate VCL_STATE_LABEL[1] = {{ "label" }};
 static unsigned vcl_count;
 
 struct vclproghead vclhead = VTAILQ_HEAD_INITIALIZER(vclhead);
-struct vclproghead discardhead = VTAILQ_HEAD_INITIALIZER(discardhead);
+static struct vclproghead discardhead = VTAILQ_HEAD_INITIALIZER(discardhead);
 struct vmodfilehead vmodhead = VTAILQ_HEAD_INITIALIZER(vmodhead);
 static struct vclprog		*active_vcl;
 static struct vev *e_poker;


More information about the varnish-commit mailing list