From 42bcd708b1f73e08d312b0b9216124e1ca40092b Mon Sep 17 00:00:00 2001 From: cff-gite Date: Thu, 24 Mar 2022 17:00:27 +0800 Subject: [PATCH] =?UTF-8?q?vibrator=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite --- .../native/miscdevice/include/vibrator_service_client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/native/miscdevice/include/vibrator_service_client.h b/frameworks/native/miscdevice/include/vibrator_service_client.h index 207b59b..b3eb037 100755 --- a/frameworks/native/miscdevice/include/vibrator_service_client.h +++ b/frameworks/native/miscdevice/include/vibrator_service_client.h @@ -38,8 +38,8 @@ public: private: int32_t InitServiceClient(); - sptr serviceDeathObserver_; - sptr miscdeviceProxy_; + sptr serviceDeathObserver_ = nullptr; + sptr miscdeviceProxy_ = nullptr; std::mutex clientMutex_; }; } // namespace Sensors -- Gitee