[TD-71] fix return value in a func with void declartion.

This commit is contained in:
Shuduo Sang 2020-03-31 23:55:16 +08:00
parent 4dac7f0494
commit 052e51024a
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}
}