Fix svace issue at control/text-anchor-impl 31/267431/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 3 Dec 2021 10:07:30 +0000 (19:07 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 3 Dec 2021 10:23:31 +0000 (19:23 +0900)
Initialize member value as zero.

Change-Id: If7b3073e6b75417bbb3b8c25764acb484ddefe2d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/controls/text-controls/text-anchor-impl.cpp

index 2fde91c..37831ea 100644 (file)
@@ -155,7 +155,10 @@ void TextAnchor::OnInitialize()
 }
 
 TextAnchor::TextAnchor()
-: Control(ControlBehaviour(CONTROL_BEHAVIOUR_DEFAULT))
+: Control(ControlBehaviour(CONTROL_BEHAVIOUR_DEFAULT)),
+  mStartCharacterIndex(0),
+  mEndCharacterIndex(0),
+  mUri()
 {
 }