Fixed gbs build error for animation code
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / internal / builder / builder-animations.cpp
index 787813e..c1c8921 100644 (file)
@@ -232,7 +232,7 @@ Animation CreateAnimation( const TreeNode& child, const Replacement& constant, D
       DALI_ASSERT_ALWAYS( targetHandle && "Actor must exist for property" );
 
       Property::Value propValue;
-      Property::Index propIndex;
+      Property::Index propIndex = Property::INVALID_INDEX;
       if( property )
       {
         propIndex = targetHandle.GetPropertyIndex( *property );