diff options
| author | 2023-04-30 16:14:38 -0400 | |
|---|---|---|
| committer | 2023-05-02 21:51:29 -0400 | |
| commit | 29a56496bffcec6bad5865426e0ffd7091f76667 (patch) | |
| tree | 3620898393607d81516eb56c0b058de5700237c1 /src | |
| parent | configure_graphics: Fix typo (diff) | |
| download | yuzu-29a56496bffcec6bad5865426e0ffd7091f76667.tar.gz yuzu-29a56496bffcec6bad5865426e0ffd7091f76667.tar.xz yuzu-29a56496bffcec6bad5865426e0ffd7091f76667.zip | |
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')
| -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: | |||
| 163 | case Settings::VSyncMode::Mailbox: | 163 | case Settings::VSyncMode::Mailbox: |
| 164 | return 2; | 164 | return 2; |
| 165 | } | 165 | } |
| 166 | return 0; | ||
| 166 | }(); | 167 | }(); |
| 167 | 168 | ||
| 168 | format.setSwapInterval(main_surface ? swap_interval : 0); | 169 | format.setSwapInterval(main_surface ? swap_interval : 0); |