1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00

Everywhere: Remove unused local variables and lambda captures

This commit is contained in:
Daniel Bertalan 2021-07-05 18:13:42 +02:00 committed by Gunnar Beutner
parent 5f7f063919
commit ca06fd658d
10 changed files with 10 additions and 15 deletions

View file

@ -498,7 +498,7 @@ void Menu::start_activation_animation(MenuItem& item)
};
auto animation = adopt_own(*new AnimationInfo(move(window)));
auto& timer = animation->timer;
timer = Core::Timer::create_repeating(50, [this, animation = animation.ptr(), animation_ref = move(animation)] {
timer = Core::Timer::create_repeating(50, [animation = animation.ptr(), animation_ref = move(animation)] {
VERIFY(animation->step % 2 == 0);
animation->step -= 2;
if (animation->step == 0) {