[master] 505cc2d2b Fix "cache_gzip: Address old gcc's complaints"

Nils Goroll nils.goroll at uplex.de
Fri Jul 4 18:01:05 UTC 2025


commit 505cc2d2b443a734eaae4e73e85fe40aca62a9b8
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Jul 4 19:59:08 2025 +0200

    Fix "cache_gzip: Address old gcc's complaints"
    
    I had accidentally committed some WIP which should have been on the stash
    
    This reverts parts of commit 1c7db798e71ff844650eb740dd371c47d4ba1d8d.

diff --git a/bin/varnishd/cache/cache_esi_deliver.c b/bin/varnishd/cache/cache_esi_deliver.c
index c020fb8bd..ccb44d32d 100644
--- a/bin/varnishd/cache/cache_esi_deliver.c
+++ b/bin/varnishd/cache/cache_esi_deliver.c
@@ -311,9 +311,6 @@ ved_vdp_esi_fini(struct vdp_ctx *vdc, void **priv)
 	return (0);
 }
 
-static void v_matchproto_(vdpio_fini_f)
-
-
 static int v_matchproto_(vdp_bytes_f)
 ved_vdp_esi_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv,
     const void *ptr, ssize_t len)
@@ -488,13 +485,6 @@ const struct vdp VDP_esi = {
 	.init =		ved_vdp_esi_init,
 	.bytes =	ved_vdp_esi_bytes,
 	.fini =		ved_vdp_esi_fini,
-
-#ifdef LATER
-	.io_init =	ved_vdpio_esi_init,
-#endif
-	.io_upgrade =	ved_vdpio_esi_upgrade,
-	.io_lease =	ved_vdpio_esi_lease,
-	.io_fini =	ved_vdpio_esi_fini,
 };
 
 /*


More information about the varnish-commit mailing list