#6037 Unitialized member in Chunk
This commit is contained in:
parent
857482ced7
commit
b87dba52ba
|
@ -18,7 +18,7 @@
|
||||||
#include "synergy/Chunk.h"
|
#include "synergy/Chunk.h"
|
||||||
#include "base/String.h"
|
#include "base/String.h"
|
||||||
|
|
||||||
Chunk::Chunk(size_t size)
|
Chunk::Chunk(size_t size): m_dataSize(0)
|
||||||
{
|
{
|
||||||
m_chunk = new char[size];
|
m_chunk = new char[size];
|
||||||
memset(m_chunk, 0, size);
|
memset(m_chunk, 0, size);
|
||||||
|
|
Loading…
Reference in New Issue