mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06: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:
		@@ -163,6 +163,7 @@ public:
 | 
			
		||||
            case Settings::VSyncMode::Mailbox:
 | 
			
		||||
                return 2;
 | 
			
		||||
            }
 | 
			
		||||
            return 0;
 | 
			
		||||
        }();
 | 
			
		||||
 | 
			
		||||
        format.setSwapInterval(main_surface ? swap_interval : 0);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user