mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #5006 from FearlessTobi/port-3123
Port yuzu-emu/yuzu#3123: "common/logging: Silence no return value warnings"
This commit is contained in:
		
						commit
						85f2e577b5
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -253,8 +253,10 @@ const char* GetLogClassName(Class log_class) { | |||
| #undef CLS | ||||
| #undef SUB | ||||
|     case Class::Count: | ||||
|         UNREACHABLE(); | ||||
|         break; | ||||
|     } | ||||
|     UNREACHABLE(); | ||||
|     return "Invalid"; | ||||
| } | ||||
| 
 | ||||
| const char* GetLevelName(Level log_level) { | ||||
|  | @ -269,9 +271,11 @@ const char* GetLevelName(Level log_level) { | |||
|         LVL(Error); | ||||
|         LVL(Critical); | ||||
|     case Level::Count: | ||||
|         UNREACHABLE(); | ||||
|         break; | ||||
|     } | ||||
| #undef LVL | ||||
|     UNREACHABLE(); | ||||
|     return "Invalid"; | ||||
| } | ||||
| 
 | ||||
| void SetGlobalFilter(const Filter& filter) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue