diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2022-06-02 01:28:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2022-06-02 01:29:45 +0200 |
commit | 2e23b7cfba344bd24ae202b26ff280a57748570d (patch) | |
tree | 254d21038cc1134b910465266dff1fcadbcfe37b /src/ByteBuffer.cpp | |
parent | Avoid spawn of silverfish when exploded by tnt (#5420) (diff) | |
download | cuberite-2e23b7cfba344bd24ae202b26ff280a57748570d.tar cuberite-2e23b7cfba344bd24ae202b26ff280a57748570d.tar.gz cuberite-2e23b7cfba344bd24ae202b26ff280a57748570d.tar.bz2 cuberite-2e23b7cfba344bd24ae202b26ff280a57748570d.tar.lz cuberite-2e23b7cfba344bd24ae202b26ff280a57748570d.tar.xz cuberite-2e23b7cfba344bd24ae202b26ff280a57748570d.tar.zst cuberite-2e23b7cfba344bd24ae202b26ff280a57748570d.zip |
Diffstat (limited to 'src/ByteBuffer.cpp')
-rw-r--r-- | src/ByteBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index af619f26f..46f2ba0d4 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -556,7 +556,7 @@ bool cByteBuffer::ReadUUID(cUUID & a_Value) { CHECK_THREAD - std::array<Byte, 16> UUIDBuf = {0}; + std::array<Byte, 16> UUIDBuf; if (!ReadBuf(UUIDBuf.data(), UUIDBuf.size())) { return false; |