未验证 提交 f8a6ca0a 编写于 作者: S slguan 提交者: GitHub

Merge pull request #1483 from sangshuduo/fix-return-value-in-void-func

[TD-71] fix return value in a func with void declartion.
......@@ -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
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册