diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-04-30 16:14:38 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-02 21:51:29 -0400 |
commit | 29a56496bffcec6bad5865426e0ffd7091f76667 (patch) | |
tree | 3620898393607d81516eb56c0b058de5700237c1 /src/yuzu/bootmanager.cpp | |
parent | 41a103c0fc0e2fbcef482b58b606dac5424fd429 (diff) |
bootmanager: Return value in impossible case
The setting is ranged, so this return statement is unreachable.
But GCC can't tell I guess.
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r-- | src/yuzu/bootmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 01dc51cff..1cf239496 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -163,6 +163,7 @@ public: case Settings::VSyncMode::Mailbox: return 2; } + return 0; }(); format.setSwapInterval(main_surface ? swap_interval : 0); |