[master] bf3785143 Flexelint: enum instead of int

Nils Goroll nils.goroll at uplex.de
Wed Jul 31 13:48:04 UTC 2024


commit bf3785143b14d50d2b4b275426eb97c7e49c80b5
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Jul 31 15:46:44 2024 +0200

    Flexelint: enum instead of int
    
    Ref b37b3c3d33d063560105be47bed71cf84beccc55

diff --git a/bin/varnishd/cache/cache_esi_fetch.c b/bin/varnishd/cache/cache_esi_fetch.c
index e80fee3d0..465b432bd 100644
--- a/bin/varnishd/cache/cache_esi_fetch.c
+++ b/bin/varnishd/cache/cache_esi_fetch.c
@@ -68,7 +68,7 @@ vfp_vep_callback(struct vfp_ctx *vc, void *priv, ssize_t l, enum vgz_flag flg)
 	ssize_t dl;
 	const void *dp;
 	uint8_t *ptr;
-	int i;
+	enum vgzret_e i;
 
 	CHECK_OBJ_NOTNULL(vc, VFP_CTX_MAGIC);
 	CAST_OBJ_NOTNULL(vef, priv, VEF_MAGIC);


More information about the varnish-commit mailing list