removed double-return

This commit is contained in:
csoler 2021-01-03 21:24:15 +01:00
parent ef21db0a0a
commit f1ccfb4d57

View File

@ -708,10 +708,8 @@ std::shared_ptr<RsGxsMsgMetaData> RsDataService::locked_getMsgMeta(RetroCursor &
if(ok)
return msgMeta;
else
return nullptr;
return NULL;
return nullptr;
}
@ -750,10 +748,9 @@ RsNxsMsg* RsDataService::locked_getMessage(RetroCursor &c)
if(ok)
return msg;
else
delete msg;
return NULL;
delete msg;
return nullptr;
}
int RsDataService::storeMessage(const std::list<RsNxsMsg*>& msg)