[master] bae4b19cb Flexelint: Allow goto in vtest2

Nils Goroll nils.goroll at uplex.de
Fri Jul 4 18:50:05 UTC 2025


commit bae4b19cb61ea9e0c180fba5b91260d0f8621bbf
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Jul 4 20:30:14 2025 +0200

    Flexelint: Allow goto in vtest2
    
    I personally think we should allow it in general for the error handling pattern,
    but if anything it should be ok in vtest2

diff --git a/bin/varnishtest/flint.lnt b/bin/varnishtest/flint.lnt
index 332dbf6a6..dfcf259b8 100644
--- a/bin/varnishtest/flint.lnt
+++ b/bin/varnishtest/flint.lnt
@@ -44,6 +44,7 @@
 -emacro(835, STRTOU32_CHECK)    // A zero has been given as ___ argument to operator '___'
 
 -e788	// enum value not used in defaulted switch
+-e801	// goto
 
 -efile(451, cmds.h)
 -efile(451, vmods.h)


More information about the varnish-commit mailing list