enh: code optimization
This commit is contained in:
parent
8ea9c8b879
commit
91215d7cc0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue