enh: code optimization

This commit is contained in:
kailixu 2024-04-16 09:10:21 +08:00
parent 8ea9c8b879
commit 91215d7cc0
1 changed files with 1 additions and 1 deletions

View File

@ -240,10 +240,10 @@ int32_t dmProcessCreateEncryptKeyReq(SDnodeMgmt *pMgmt, SRpcMsg *pMsg) {
tstrncpy(tsEncryptKey, cfgReq.value, ENCRYPT_KEY_LEN + 1);
}
_exit:
pMsg->code = code;
pMsg->info.rsp = NULL;
pMsg->info.rspLen = 0;
_exit:
return code;
#else
return 0;