fix: parenthesized expression

This commit is contained in:
Cary Xu 2022-07-18 20:12:10 +08:00
parent 832527e5b6
commit cc3967b905
1 changed files with 1 additions and 1 deletions

View File

@ -749,7 +749,7 @@ void tdRemoveRSmaInfoBySuid(SSma *pSma, int64_t suid) {
pRSmaInfo = taosHashGet(RSMA_INFO_HASH(pStat), &suid, sizeof(tb_uid_t));
if (pRSmaInfo) {
if (pRSmaInfo = *(SRSmaInfo **)pRSmaInfo) {
if ((pRSmaInfo = *(SRSmaInfo **)pRSmaInfo)) {
tdFreeRSmaInfo(pSma, pRSmaInfo, true);
}
taosHashRemove(RSMA_INFO_HASH(pStat), &suid, sizeof(tb_uid_t));