[master] 52cd2f32f cache_conn_pool: cleaup VRBT_GENERATE macro invocations
Nils Goroll
nils.goroll at uplex.de
Mon Jan 20 18:58:09 UTC 2025
commit 52cd2f32f8671c2728ed30994190e51b2eb2d87b
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Jan 20 19:42:42 2025 +0100
cache_conn_pool: cleaup VRBT_GENERATE macro invocations
Reported by Flexelint
Ref 818ca099105e3ebe1d96fb8deaa91aed6ff1280e
diff --git a/bin/varnishd/cache/cache_conn_pool.c b/bin/varnishd/cache/cache_conn_pool.c
index 301e658e3..f510e3b68 100644
--- a/bin/varnishd/cache/cache_conn_pool.c
+++ b/bin/varnishd/cache/cache_conn_pool.c
@@ -114,8 +114,8 @@ VRBT_GENERATE_FIND(vrb, conn_pool, entry, vcp_cmp, static)
VRBT_GENERATE_INSERT_COLOR(vrb, conn_pool, entry, static)
VRBT_GENERATE_INSERT_FINISH(vrb, conn_pool, entry, static)
VRBT_GENERATE_INSERT(vrb, conn_pool, entry, vcp_cmp, static)
-VRBT_GENERATE_NEXT(vrb, conn_pool, entry, static);
-VRBT_GENERATE_MINMAX(vrb, conn_pool, entry, static);
+VRBT_GENERATE_NEXT(vrb, conn_pool, entry, static)
+VRBT_GENERATE_MINMAX(vrb, conn_pool, entry, static)
static struct vrb conn_pools = VRBT_INITIALIZER(&conn_pools);
static struct vrb dead_pools = VRBT_INITIALIZER(&dying_cps);
More information about the varnish-commit
mailing list