[UTC][dali-core][dali-toolkit][Non-ACR][SVACE][Fix SVACE issues]
authorminho.sun <minho.sun@samsung.com>
Wed, 4 Apr 2018 11:45:46 +0000 (20:45 +0900)
committerMinho Sun <minho.sun@samsung.com>
Thu, 5 Apr 2018 04:00:59 +0000 (04:00 +0000)
Add missing initialization and remove unused variables.

Change-Id: Idd84352a431b38b50fc0ca015556cbaa62fc07da
Signed-off-by: minho.sun <minho.sun@samsung.com>
src/utc/dali-core/constraint/utc-dali-constraint-common.h
src/utc/dali-core/handle/utc-dali-handle-impl.h
src/utc/dali-core/property-notification/utc-dali-property-notification-common.h
src/utc/dali-toolkit/item-view/utc-dali-item-view.cpp
src/utc/dali-toolkit/video-view/utc-dali-video-view.cpp

index 9959d11..ba0c5d8 100755 (executable)
@@ -196,7 +196,7 @@ bool ConstraintCreateHandle(Actor&, bool);
 template<class type>
 struct STConstraintTypeValue
 {
-  STConstraintTypeValue()
+  STConstraintTypeValue() : tValue()
   {
   }
 
index da464a6..60409f7 100755 (executable)
@@ -42,12 +42,9 @@ void HandleConstructorP()
 
 void HandleCopyConstructorP()
 {
-  unsigned int uHandlePropertyCount = 0u;
   Handle handle = Handle::New();
   DALI_CHECK_INSTANCE( handle, "Handle::New() is failed." );
 
-  uHandlePropertyCount = handle.GetPropertyCount();
-
   Handle handleWeightObject = handle;
   DALI_CHECK_INSTANCE( handleWeightObject, "Handle::Handle() is failed." );
 
index fc5b9ea..8e1c297 100755 (executable)
@@ -1045,7 +1045,6 @@ void ItemViewGetItemsRangeP()
 {
   float fDurationSeconds  = 0.5f ;
   unsigned int uLayOutIndex = 0 ;
-  int nInitItem = 0 , nLaterItem = 0;
   ItemIdContainer itemContainerRemoveList;
   ItemViewFactory itemFactory;
   ItemView itemView ;
@@ -1056,8 +1055,6 @@ void ItemViewGetItemsRangeP()
     return;
   }
 
-  nInitItem = ItemViewDescendentCount(itemView);
-
   ItemLayoutPtr gridLayout = DefaultItemLayout::New( DefaultItemLayout::GRID );
   DALI_CHECK_FAIL(!gridLayout,  "GridLayout::New() is failed.");
 
index ef4251e..c48c314 100755 (executable)
@@ -72,7 +72,8 @@ struct VideoViewTestApp : public ConnectionTracker
 {
   VideoViewTestApp( Application& app, int testCase )
     : mApplication( app ),
-    mTestCase( testCase )
+    mTestCase( testCase ),
+    mFinished( false )
   {
     mApplication.InitSignal().Connect( this, &VideoViewTestApp::OnInit );
   }