mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 14:45:21 +08:00
#6037 Unitialized member in Chunk
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include "synergy/Chunk.h"
|
||||
#include "base/String.h"
|
||||
|
||||
Chunk::Chunk(size_t size)
|
||||
Chunk::Chunk(size_t size): m_dataSize(0)
|
||||
{
|
||||
m_chunk = new char[size];
|
||||
memset(m_chunk, 0, size);
|
||||
|
||||
Reference in New Issue
Block a user