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

Commit 44e14d0d 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

Change-Id: I0b088bc47b1311ace1000cc700fd81d56eec4b7f
parents c68c2f68 95ef9ec5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ void AnimatorManager::animateNoDamage(TreeInfo& info) {
}

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