Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Nov 22, 2023
1 parent a6ea17e commit 57af457
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/eventmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
using namespace input;

void eventmanager::update() {

Check warning on line 8 in src/eventmanager.cpp

View workflow job for this annotation

GitHub Actions / lint

/src/eventmanager.cpp:8:20 [readability-convert-member-functions-to-static]

method 'update' can be made static
SDL_FlushEvents(SDL_FIRSTEVENT, SDL_LASTEVENT);

SDL_Event event;

Check warning on line 9 in src/eventmanager.cpp

View workflow job for this annotation

GitHub Actions / lint

/src/eventmanager.cpp:9:13 [cppcoreguidelines-init-variables]

variable 'event' is not initialized
while (SDL_PollEvent(&event)) {
switch (event.type) {
Expand Down

0 comments on commit 57af457

Please sign in to comment.