From 3def9218a44f6a520e123aedac169c90b6f8fc8a Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Fri, 8 Sep 2017 11:11:39 +0900 Subject: [PATCH] Fix SVACE issue - Initialize mNode member at scene-graph-camera.cpp:154 - Even though 'siblings.front()' conditional at 5210 line prevents siblings[i-1] at 5217 line from being, to clarify the range, 'size_t i' variable begins 1 in actor-impl.cpp Change-Id: Ie3c99db4ab4bf879387dd04beb2867115ba8eef5 Signed-off-by: Seoyeon Kim --- dali/internal/event/actors/actor-impl.cpp | 2 +- dali/internal/update/render-tasks/scene-graph-camera.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dali/internal/event/actors/actor-impl.cpp b/dali/internal/event/actors/actor-impl.cpp index f7df4d4..a7be0fc 100644 --- a/dali/internal/event/actors/actor-impl.cpp +++ b/dali/internal/event/actors/actor-impl.cpp @@ -5209,7 +5209,7 @@ void Actor::Lower() ActorContainer& siblings = *(mParent->mChildren); if( siblings.front() != this ) // If not already at beginning { - for( size_t i=0; i