[7.3] ed668f41b Flexelinting

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Oct 24 15:08:13 UTC 2023


commit ed668f41bf24adef80ca368cacb7690b8e2b70f9
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