From c0741ccc68bd707b23220dcefa06242287c6b5d7 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 27 May 2026 16:03:15 +0200 Subject: [PATCH] - Fix analyzer warning in mesh_new_client. --- doc/Changelog | 1 + services/mesh.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index 7af325a4a..8da65418d 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -30,6 +30,7 @@ - Fix that validator caps number of ANY RRsets it can validate, and the wait timer is shortened. Thanks to Qifan Zhang, Palo Alto Networks, for the report. + - Fix analyzer warning in mesh_new_client. 26 May 2026: Wouter - Fix for mesh new client and mesh new callback to rollback the diff --git a/services/mesh.c b/services/mesh.c index ef7a5aad7..5cb2cba4b 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -610,7 +610,8 @@ void mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo, } } #endif - added_reply_without_accounting = 0; + /* Since the acccounting now happens, + * added_reply_without_accounting = 0; but that is not used. */ infra_wait_limit_inc(mesh->env->infra_cache, rep, *mesh->env->now, mesh->env->cfg); /* update statistics */