Fix svace issue 73/217773/1
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 14 Nov 2019 05:45:02 +0000 (14:45 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 14 Nov 2019 06:46:29 +0000 (15:46 +0900)
Change-Id: Iebc59af8ab5794b38fc2e00d65983d08deb97ae7

examples/transitions/shadow-button-impl.cpp

index 4273bcc..c0117d0 100644 (file)
@@ -423,7 +423,7 @@ void ShadowButton::StoreTargetLayouts( TransitionData transitionData )
     if( target )
     {
       // Convert to index
-      Property::Index index;
+      Property::Index index = Property::INVALID_INDEX;
       if( Scripting::GetEnumerationProperty( *target, VISUAL_PROPERTIES_TABLE, VISUAL_PROPERTIES_TABLE_COUNT, index ) )
       {
         ShadowButton::Transforms::iterator iter = FindTransform( index );