From: W.C.A. Wijngaards Date: Wed, 27 May 2026 14:03:15 +0000 (+0200) Subject: - Fix analyzer warning in mesh_new_client. X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c0741ccc68bd707b23220dcefa06242287c6b5d7;p=thirdparty%2Funbound.git - Fix analyzer warning in mesh_new_client. --- 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 */