[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [7.3] ed668f41b Flexelinting
From:       Dridi Boukelmoune <dridi.boukelmoune () gmail ! com>
Date:       2023-10-24 15:08:13
Message-ID: 20231024150813.9598011E181 () lists ! varnish-cache ! org
[Download RAW message or body]


commit ed668f41bf24adef80ca368cacb7690b8e2b70f9
Author: Nils Goroll <nils.goroll@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);				\
 							\
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic