Skip to content

Commit

Permalink
Do not initialize ALLEGRO_EVENT union.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Oct 2, 2024
1 parent 99e1ff3 commit f0ba4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StandardInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void StandardInput::init()

InputAction StandardInput::getMenuAction()
{
ALLEGRO_EVENT event{};
ALLEGRO_EVENT event;
::al_wait_for_event(events_, &event);

if (const InputAction action{getCommonAction(event)};
Expand Down

0 comments on commit f0ba4c4

Please sign in to comment.