summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar lat9nq2023-04-30 16:14:38 -0400
committerGravatar lat9nq2023-05-02 21:51:29 -0400
commit29a56496bffcec6bad5865426e0ffd7091f76667 (patch)
tree3620898393607d81516eb56c0b058de5700237c1 /src
parentconfigure_graphics: Fix typo (diff)
downloadyuzu-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.cpp1
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);