From d5700ed20bdb2233041587aefe073a86434677ea Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 15 Oct 2021 00:01:39 -0700 Subject: [PATCH] Don't log SDL_POLLSENTINEL, it's purely for internal bookkeeping --- src/events/SDL_events.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/events/SDL_events.c b/src/events/SDL_events.c index 87df9cfae..074da1aa2 100644 --- a/src/events/SDL_events.c +++ b/src/events/SDL_events.c @@ -378,6 +378,10 @@ SDL_LogEvent(const SDL_Event *event) #undef SDL_EVENT_CASE + case SDL_POLLSENTINEL: + /* No logging necessary for this one */ + break; + default: if (!name[0]) { SDL_strlcpy(name, "UNKNOWN", sizeof (name));