Fixed gbs build error for animation code 14/31214/1
authorRichard Huang <r.huang@samsung.com>
Tue, 2 Dec 2014 14:26:50 +0000 (14:26 +0000)
committerRichard Huang <r.huang@samsung.com>
Tue, 2 Dec 2014 14:26:50 +0000 (14:26 +0000)
Change-Id: I2cd02983888fd6bcdc97bb45feca328416fe7392

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;
       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 );
       if( property )
       {
         propIndex = targetHandle.GetPropertyIndex( *property );