diff --git a/frameworks/src/standby_service_subscriber_proxy.cpp b/frameworks/src/standby_service_subscriber_proxy.cpp index 5c335396afba29b0431c7488b73c5d4b804cc45f..ad15f81110dc159175967ec122b46ea549b63692 100644 --- a/frameworks/src/standby_service_subscriber_proxy.cpp +++ b/frameworks/src/standby_service_subscriber_proxy.cpp @@ -44,6 +44,7 @@ void StandbyServiceSubscriberProxy::OnDeviceIdleMode(bool napped, bool sleeping) STANDBYSERVICE_LOGW("OnDeviceIdleMode write parameter failed."); return; } + MessageParcel reply; MessageOption option = {MessageOption::TF_ASYNC};