mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	wait_tree: Silence warning about all code paths not returning a value
If code execution hits this spot, something has gone very wrong, so mark the path as unreachable. This silences a warning on MSVC.
This commit is contained in:
		
							parent
							
								
									4a3c4f5f67
								
							
						
					
					
						commit
						bf5b5d25ed
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -5,6 +5,7 @@ | ||||||
| #include "citra_qt/debugger/wait_tree.h" | #include "citra_qt/debugger/wait_tree.h" | ||||||
| #include "citra_qt/util/util.h" | #include "citra_qt/util/util.h" | ||||||
| 
 | 
 | ||||||
|  | #include "common/assert.h" | ||||||
| #include "core/hle/kernel/event.h" | #include "core/hle/kernel/event.h" | ||||||
| #include "core/hle/kernel/mutex.h" | #include "core/hle/kernel/mutex.h" | ||||||
| #include "core/hle/kernel/semaphore.h" | #include "core/hle/kernel/semaphore.h" | ||||||
|  | @ -117,6 +118,8 @@ QString WaitTreeWaitObject::GetResetTypeQString(Kernel::ResetType reset_type) { | ||||||
|     case Kernel::ResetType::Pulse: |     case Kernel::ResetType::Pulse: | ||||||
|         return tr("pulse"); |         return tr("pulse"); | ||||||
|     } |     } | ||||||
|  |     UNREACHABLE(); | ||||||
|  |     return {}; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| WaitTreeObjectList::WaitTreeObjectList( | WaitTreeObjectList::WaitTreeObjectList( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue