!753 [优化]:处理静态告警

Merge pull request !753 from 师皓杰/master
This commit is contained in:
openharmony_ci 2023-12-11 07:05:37 +00:00 committed by Gitee
commit 361a24e05d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -24,9 +24,11 @@ using namespace DistributedSchedule;
using namespace std;
Business g_business;
namespace {
DmsHandler &dmsSourceHandlerdemo = DmsHandler::GetInstance();
std::string g_type = "IDSchedEventListener";
sptr<IDSchedEventListener> listener = sptr<IDSchedEventListener>(new Business());
}
void Business::Register()
{