mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-29 08:18:01 +00:00
Both parameters already carry [[maybe_unused]], so the telemetry-disabled arm needed nothing: the casts suppressed a warning that cannot fire. (void)enabled_ never suppressed anything either, because enabled_ is a member that isEnabled() reads outside every #ifdef. recordJobQueued was the only one of the seven record* stubs still carrying an #else arm; it now has the same shape as recordJobStarted and the rest. The file is left with no (void) casts and no #else at all.
XRPL Source Guidelines
Each folder contains a single module following the newest style:
- One class per header
- As much implementation hidden as possible
- All major interfaces are abstract
- Every class is documented
- Each module focuses on solving one problem