[master] 1eb5600a3 Flexelinting
Nils Goroll
nils.goroll at uplex.de
Wed Oct 18 13:18:04 UTC 2023
commit 1eb5600a397ff80f87ac189e1673ed05d47f366e
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