提交 052e5102 编写于 作者: sangshuduo's avatar sangshuduo

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

上级 4dac7f04
......@@ -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.
先完成此消息的编辑!
想要评论请 注册