fix valgrind unitialized warning
This commit is contained in:
parent
d69c99d1e3
commit
f0b5b14e42
|
@ -701,6 +701,8 @@ static int tsdbWriteBlockToFile(SRWHelper *pHelper, SFile *pFile, SDataCols *pDa
|
|||
continue;
|
||||
}
|
||||
|
||||
memset(pCompCol, 0, sizeof(*pCompCol));
|
||||
|
||||
pCompCol->colId = pDataCol->colId;
|
||||
pCompCol->type = pDataCol->type;
|
||||
if (tDataTypeDesc[pDataCol->type].getStatisFunc) {
|
||||
|
|
Loading…
Reference in New Issue