From 032c3a24f7264e1731d00dfd53eb4fd4cb504802 Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Fri, 18 May 2018 11:01:46 +0900 Subject: [PATCH] Fix SVACE issue - Initialized member variables in control-data-impl.cpp and measure-size.h Change-Id: I05695f892d9a0fb84c457c630d495130a7448022 Signed-off-by: Seoyeon Kim --- dali-toolkit/devel-api/layouting/measured-size.h | 3 ++- dali-toolkit/internal/controls/control/control-data-impl.cpp | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dali-toolkit/devel-api/layouting/measured-size.h b/dali-toolkit/devel-api/layouting/measured-size.h index ff937cf..68f988c 100644 --- a/dali-toolkit/devel-api/layouting/measured-size.h +++ b/dali-toolkit/devel-api/layouting/measured-size.h @@ -39,7 +39,8 @@ public: }; MeasuredSize() - : mMeasuredSize( 0u ) + : mMeasuredSize( 0u ), + mState ( MeasuredSize::State::MEASURED_SIZE_OK ) { } diff --git a/dali-toolkit/internal/controls/control/control-data-impl.cpp b/dali-toolkit/internal/controls/control/control-data-impl.cpp index e916a0e..73769c8 100755 --- a/dali-toolkit/internal/controls/control/control-data-impl.cpp +++ b/dali-toolkit/internal/controls/control/control-data-impl.cpp @@ -335,6 +335,8 @@ Control::Impl::Impl( Control& controlImpl ) mPanGestureDetector(), mTapGestureDetector(), mLongPressGestureDetector(), + mTooltip( NULL ), + mInputMethodContext(), mFlags( Control::ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ), mIsKeyboardNavigationSupported( false ), mIsKeyboardFocusGroup( false ) -- 2.7.4