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 | 178a4e3e2d0208513fd91b89238a66c742a6ffe3 (patch) | |
| tree | 3620898393607d81516eb56c0b058de5700237c1 /src/yuzu/bootmanager.cpp | |
| parent | 01d93d094f39b730ec9c2d05035f2cb040f03dfe (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 01dc51cffc..1cf2394960 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); |
