[7.4] eb8aed1de Flexelinting

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Oct 23 17:18:10 UTC 2023


commit eb8aed1dec32caf6857cb2663a481a1485eb835c
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Oct 18 15:17:11 2023 +0200

    Flexelinting
    
    we can not make the parameter const because API.

diff --git a/vmod/vmod_h2.c b/vmod/vmod_h2.c
index bded788f4..45642f140 100644
--- a/vmod/vmod_h2.c
+++ b/vmod/vmod_h2.c
@@ -65,6 +65,8 @@ vmod_ ## name(VRT_CTX, struct VARGS(name) *args)	\
 	struct h2_sess *h2 = h2get(ctx);		\
 	type r;						\
 							\
+	(void)args;					\
+							\
 	if (h2 == NULL)					\
 		return (-1);				\
 							\


More information about the varnish-commit mailing list