diff --git a/include/xrpl/basics/Log.h b/include/xrpl/basics/Log.h index 2bf6e6a76d..c2a66efb79 100644 --- a/include/xrpl/basics/Log.h +++ b/include/xrpl/basics/Log.h @@ -154,7 +154,7 @@ private: // Batching members mutable std::mutex batchMutex_; static constexpr size_t BATCH_BUFFER_SIZE = 64 * 1024; // 64KB buffer - std::array batchBuffer_; + std::array batchBuffer_{}; std::span writeBuffer_; // Points to available write space std::span readBuffer_; // Points to data ready to flush std::chrono::steady_clock::time_point lastFlush_ =