提交 c615ca4c 编写于 作者: H Haojun Liao

[td-225] fix compiler error.

上级 c5087aa4
...@@ -1719,10 +1719,9 @@ SArray* tscCloneVgroupTableInfo(SArray* pVgroupTables) { ...@@ -1719,10 +1719,9 @@ SArray* tscCloneVgroupTableInfo(SArray* pVgroupTables) {
size_t num = taosArrayGetSize(pVgroupTables); size_t num = taosArrayGetSize(pVgroupTables);
SArray* pa = taosArrayInit(num, sizeof(SVgroupTableInfo)); SArray* pa = taosArrayInit(num, sizeof(SVgroupTableInfo));
SVgroupTableInfo info;
for (size_t i = 0; i < num; i++) { for (size_t i = 0; i < num; i++) {
SVgroupTableInfo* pInfo = taosArrayGet(pVgroupTables, i); SVgroupTableInfo* pInfo = taosArrayGet(pVgroupTables, i);
SVgroupTableInfo info;
memset(&info, 0, sizeof(SVgroupTableInfo)); memset(&info, 0, sizeof(SVgroupTableInfo));
info.vgInfo = pInfo->vgInfo; info.vgInfo = pInfo->vgInfo;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册