Commit b4c05d5aee89d9bffa187294b0f0abbf40595411

Authored by Heeyong Song
1 parent 3e417353

Fix svace issue

Change-Id: Iebc59af8ab5794b38fc2e00d65983d08deb97ae7
examples/transitions/shadow-button-impl.cpp
@@ -423,7 +423,7 @@ void ShadowButton::StoreTargetLayouts( TransitionData transitionData ) @@ -423,7 +423,7 @@ void ShadowButton::StoreTargetLayouts( TransitionData transitionData )
423 if( target ) 423 if( target )
424 { 424 {
425 // Convert to index 425 // Convert to index
426 - Property::Index index; 426 + Property::Index index = Property::INVALID_INDEX;
427 if( Scripting::GetEnumerationProperty( *target, VISUAL_PROPERTIES_TABLE, VISUAL_PROPERTIES_TABLE_COUNT, index ) ) 427 if( Scripting::GetEnumerationProperty( *target, VISUAL_PROPERTIES_TABLE, VISUAL_PROPERTIES_TABLE_COUNT, index ) )
428 { 428 {
429 ShadowButton::Transforms::iterator iter = FindTransform( index ); 429 ShadowButton::Transforms::iterator iter = FindTransform( index );