From f9579b73561541a47af088ba6c61575e53bb72ce Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Wed, 22 Jul 2026 16:20:44 +0100 Subject: [PATCH] fix(telemetry): drop redundant SpanNames.h include from Consensus.h Consensus.h includes ConsensusSpanNames.h, which already includes SpanNames.h (it is built on StaticStr/join()). Consensus.h uses no base SpanNames.h symbols directly, so misc-include-cleaner flags the direct include as unused. Remove it; SpanNames.h stays reachable transitively. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/xrpld/consensus/Consensus.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xrpld/consensus/Consensus.h b/src/xrpld/consensus/Consensus.h index 86987d9bc0..4e890aca91 100644 --- a/src/xrpld/consensus/Consensus.h +++ b/src/xrpld/consensus/Consensus.h @@ -15,7 +15,6 @@ #include #include #include -#include #include #include