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

[td-822] fix compiler error

上级 3afe4cc4
......@@ -255,7 +255,7 @@ SCacheObj *taosCacheInitWithCb(int32_t keyType, int64_t refreshTimeInSeconds, bo
return NULL;
}
pthread_attr_t thattr = {0};
pthread_attr_t thattr = {{0}};
pthread_attr_init(&thattr);
pthread_attr_setdetachstate(&thattr, PTHREAD_CREATE_JOINABLE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册