diff --git a/source/dnode/mnode/impl/src/mndMain.c b/source/dnode/mnode/impl/src/mndMain.c index ae549d8678..f76dd31614 100644 --- a/source/dnode/mnode/impl/src/mndMain.c +++ b/source/dnode/mnode/impl/src/mndMain.c @@ -557,6 +557,8 @@ static int32_t mndCheckMnodeState(SRpcMsg *pMsg) { } else { terrno = TSDB_CODE_APP_NOT_READY; } + + return -1; } static int32_t mndCheckMsgContent(SRpcMsg *pMsg) {