From 85e975c7af5b26e4097b1e60c2b4b2196b3df69c Mon Sep 17 00:00:00 2001 From: Fletcher Porter Date: Fri, 15 Oct 2021 00:00:10 -0700 Subject: [PATCH] [SIO] Fix a -Wswitch warning out of lockstep.c The compiler was complaining of unhandled branches, but a new `default` case solves that. --- src/gba/sio/lockstep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gba/sio/lockstep.c b/src/gba/sio/lockstep.c index ba1f3f0af..8438b2b8e 100644 --- a/src/gba/sio/lockstep.c +++ b/src/gba/sio/lockstep.c @@ -462,6 +462,8 @@ static void _GBASIOLockstepNodeProcessEvents(struct mTiming* timing, void* user, node->eventDiff = 0; } break; + default: + break; } } else if (node->nextEvent <= 0) { if (!node->id) {