mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 03:53:18 +03:00
#6037 Unitialized member in Chunk
This commit is contained in:
parent
857482ced7
commit
b87dba52ba
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user