From 98aa9c90954d454998de99a2afdfdfde25b6a532 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Wed, 6 May 2026 15:25:27 +0100 Subject: [PATCH] fix(telemetry): initialize WindowEvent::agreed field Fixes cppcoreguidelines-pro-type-member-init clang-tidy error. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/xrpld/telemetry/ValidationTracker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrpld/telemetry/ValidationTracker.h b/src/xrpld/telemetry/ValidationTracker.h index ff9fde5d11..dac2f9c706 100644 --- a/src/xrpld/telemetry/ValidationTracker.h +++ b/src/xrpld/telemetry/ValidationTracker.h @@ -218,7 +218,7 @@ private: { TimePoint time; ///< When the event was reconciled. uint256 ledgerHash; ///< Ledger hash for late-repair matching. - bool agreed; ///< Whether this was an agreement. + bool agreed{false}; ///< Whether this was an agreement. }; /// Grace period before reconciling a ledger event.