2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

bootmanager: Return value in impossible case

The setting is ranged, so this return statement is unreachable.
But GCC can't tell I guess.
This commit is contained in:
lat9nq 2023-04-30 16:14:38 -04:00
parent 41a103c0fc
commit 29a56496bf

View file

@ -163,6 +163,7 @@ public:
case Settings::VSyncMode::Mailbox: case Settings::VSyncMode::Mailbox:
return 2; return 2;
} }
return 0;
}(); }();
format.setSwapInterval(main_surface ? swap_interval : 0); format.setSwapInterval(main_surface ? swap_interval : 0);