From d98e2bdaa3903de29f62791c05472a693b0ea36b Mon Sep 17 00:00:00 2001 From: hle0 <91701075+hle0@users.noreply.github.com> Date: Sat, 26 Mar 2022 17:10:30 -0400 Subject: fix various compiler warnings (and some unwanted case statement fallthroughs) --- src/ByteBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ByteBuffer.cpp') diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index 1974e1211..ce9df77cc 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -538,7 +538,7 @@ bool cByteBuffer::ReadUUID(cUUID & a_Value) { CHECK_THREAD - std::array UUIDBuf; + std::array UUIDBuf = {0}; if (!ReadBuf(UUIDBuf.data(), UUIDBuf.size())) { return false; -- cgit v1.2.3