Commit d5700ed20bdb2233041587aefe073a86434677ea

Sam Lantinga 2021-10-15T00:01:39

Don't log SDL_POLLSENTINEL, it's purely for internal bookkeeping

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/events/SDL_events.c b/src/events/SDL_events.c
index 87df9cf..074da1a 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));