Merge pull request #1483 from sangshuduo/fix-return-value-in-void-func
[TD-71] fix return value in a func with void declartion.
This commit is contained in:
commit
f8a6ca0a88
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue