Initialize class member 59/213059/2
authorhyunho <hhstark.kang@samsung.com>
Fri, 30 Aug 2019 01:47:22 +0000 (10:47 +0900)
committerhyunho <hhstark.kang@samsung.com>
Fri, 30 Aug 2019 01:53:31 +0000 (10:53 +0900)
Change-Id: Ica8ea09c6d974c24d96d479ed9fa89dcfe650567
Signed-off-by: hyunho <hhstark.kang@samsung.com>
component_based/base/stub.cc
component_based/efl_base/stub.cc

index 05c4d8baab33948675a1004c4b1e78a30aebda95..4425dbe9766c8d438fa2e4d303c7d6ea51dc6be7 100644 (file)
@@ -153,7 +153,7 @@ class StubApplicationBase : public component_based::ApplicationBase {
  private:
   State state_ = State::LAUNCHED;
   component_based_app_base_lifecycle_callback_s cb_;
-  void* user_data_;
+  void* user_data_ = nullptr;
 };
 
 class StubBaseComponent : public component_based::Component {
index c40d8dfd3a9eac3b2bff7fce9e49b34d5fa6d7e6..830e5aab4f8dd9f502c7dd225d1114cfb111bfb7 100755 (executable)
@@ -138,7 +138,7 @@ class StubApplication : public component_based::Application {
  private:
   State state_ = State::LAUNCHED;
   component_based_app_lifecycle_callback_s cb_;
-  void* user_data_;
+  void* user_data_ = nullptr;
 };
 
 class StubFrameComponent : public component_based::FrameComponent {