fix: coverity issues

This commit is contained in:
Shengliang Guan 2022-10-08 13:53:10 +08:00
parent e98335bdfa
commit 2e5eac4b4c
2 changed files with 2 additions and 2 deletions

View File

@ -956,7 +956,7 @@ static int32_t mndSetDropDbCommitLogs(SMnode *pMnode, STrans *pTrans, SDbObj *pD
sdbRelease(pSdb, pStbRaw); sdbRelease(pSdb, pStbRaw);
return -1; return -1;
} }
(void)(pStbRaw, SDB_STATUS_DROPPED); (void)sdbSetRawStatus(pStbRaw, SDB_STATUS_DROPPED);
} }
sdbRelease(pSdb, pStb); sdbRelease(pSdb, pStb);