diff --git a/src/common/src/dataformat.c b/src/common/src/dataformat.c index 0496fc6feb313597b343f10e366e838a46f1697f..436426c86b5a3279587cb71e3f7b60bdbb2bc271 100644 --- a/src/common/src/dataformat.c +++ b/src/common/src/dataformat.c @@ -326,8 +326,6 @@ void tdInitDataCols(SDataCols *pCols, STSchema *pSchema) { pCols->cols[i].offset = colOffset(schemaColAt(pSchema, i)); pCols->cols[i].colId = colColId(schemaColAt(pSchema, i)); } - - return pCols; } void tdFreeDataCols(SDataCols *pCols) { @@ -380,4 +378,4 @@ static int tdFLenFromSchema(STSchema *pSchema) { } return ret; -} \ No newline at end of file +}