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:
parent
5f7f063919
commit
ca06fd658d
10 changed files with 10 additions and 15 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue