Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f3ed9b7 authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Merge "Fix a use-of-uninitialized-value warning." am: 95ef9ec5

am: 44e14d0d

Change-Id: I5e5243c75f446d46bb81252583cfa46e47d60309
parents 1d67d022 44e14d0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -142,7 +142,7 @@ void AnimatorManager::animateNoDamage(TreeInfo& info) {
}
}


uint32_t AnimatorManager::animateCommon(TreeInfo& info) {
uint32_t AnimatorManager::animateCommon(TreeInfo& info) {
    uint32_t dirtyMask;
    uint32_t dirtyMask = 0;
    AnimateFunctor functor(info, mAnimationHandle->context(), &dirtyMask);
    AnimateFunctor functor(info, mAnimationHandle->context(), &dirtyMask);
    auto newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor);
    auto newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor);
    mAnimators.erase(newEnd, mAnimators.end());
    mAnimators.erase(newEnd, mAnimators.end());