From 6e330413f91e1fa13d22e3f3b0eaf31a04be6dcc Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Mon, 6 Sep 2021 17:11:01 +0100 Subject: IVGCVSW-4578 Initialise m_PacketDataLength in constructor for SendTimelinePacket Change-Id: Ie97436006c53492896172c4c59df94efe8047feb Signed-off-by: Jim Flynn --- src/profiling/SendTimelinePacket.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/profiling/SendTimelinePacket.hpp b/src/profiling/SendTimelinePacket.hpp index 90016d06f3..fc9cf6fd25 100644 --- a/src/profiling/SendTimelinePacket.hpp +++ b/src/profiling/SendTimelinePacket.hpp @@ -27,6 +27,7 @@ public: , m_WriteBuffer(nullptr) , m_Offset(8u) , m_RemainingBufferSize(0u) + , m_PacketDataLength(0u) {} /// Commits the current buffer and reset the member variables -- cgit v1.2.1