From 91215d7cc0b59220a227fe411ff9f5d689700883 Mon Sep 17 00:00:00 2001 From: kailixu Date: Tue, 16 Apr 2024 09:10:21 +0800 Subject: [PATCH] enh: code optimization --- source/dnode/mgmt/mgmt_dnode/src/dmHandle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c b/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c index 05fa048f61..12e414b30d 100644 --- a/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c +++ b/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c @@ -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;