fix: coverity issues
This commit is contained in:
parent
e98335bdfa
commit
2e5eac4b4c
|
@ -956,7 +956,7 @@ static int32_t mndSetDropDbCommitLogs(SMnode *pMnode, STrans *pTrans, SDbObj *pD
|
|||
sdbRelease(pSdb, pStbRaw);
|
||||
return -1;
|
||||
}
|
||||
(void)(pStbRaw, SDB_STATUS_DROPPED);
|
||||
(void)sdbSetRawStatus(pStbRaw, SDB_STATUS_DROPPED);
|
||||
}
|
||||
|
||||
sdbRelease(pSdb, pStb);
|
||||
|
|
|
@ -459,7 +459,7 @@ static int32_t mndCreateTopic(SMnode *pMnode, SRpcMsg *pReq, SCMCreateTopicReq *
|
|||
mndTransDrop(pTrans);
|
||||
return -1;
|
||||
}
|
||||
(void) sdbSetRawStatus(pCommitRaw, SDB_STATUS_READY);
|
||||
(void)sdbSetRawStatus(pCommitRaw, SDB_STATUS_READY);
|
||||
|
||||
if (topicObj.ntbUid != 0) {
|
||||
STqCheckInfo info;
|
||||
|
|
Loading…
Reference in New Issue