[master] 4a50fa61d Silence Flexelint

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


commit 4a50fa61d64835798f4899450cb4a1bae427ae0d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Aug 10 11:03:40 2022 +0200

    Silence Flexelint
    
    I was tempted to declare the parameter _Bool or even include stdbool,
    but did not dare to move after having read
    doc/sphinx/phk/thetoolsweworkwith.rst again ;)

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 2bc920f65..9965ea656 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -992,6 +992,7 @@ main(int argc, char * const *argv)
 	mgt_cli_close_all();
 	VEV_Destroy(&mgt_evb);
 	VJ_master(JAIL_MASTER_SYSTEM);
+	/*lint -e(730)*/
 	vext_cleanup(! MGT_DO_DEBUG(DBG_VMOD_SO_KEEP));
 	(void)rmdir("vext_cache");
 	VJ_master(JAIL_MASTER_LOW);


More information about the varnish-commit mailing list