Fix static analysis issue 94/271194/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 17 Feb 2022 00:15:23 +0000 (09:15 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 17 Feb 2022 00:32:58 +0000 (09:32 +0900)
- Initialize member variables

Change-Id: I1a67151aa828d73c204c21ca4692a679eda8982a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/widget_base.cc

index 45ec082..24f54cd 100644 (file)
@@ -160,9 +160,9 @@ class WidgetContext::Impl {
 
   std::unique_ptr<tizen_base::Bundle> args_;
   std::string content_;
-  double period_;
+  double period_ = 0.0f;
   guint periodic_timer_ = 0;
-  bool pending_update_;
+  bool pending_update_ = false;
   std::string pending_content_;
 };