mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 06:46:40 +08:00 
			
		
		
		
	CMakeLists: Enforce C4189
This supplements C4101 by detecting initialized but unreferenced local variables
This commit is contained in:
		
							parent
							
								
									bab400daaf
								
							
						
					
					
						commit
						3a3f4983b6
					
				| @ -49,6 +49,7 @@ if (MSVC) | |||||||
|         /W3 |         /W3 | ||||||
|         /we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled |         /we4062 # enumerator 'identifier' in a switch of enum 'enumeration' is not handled | ||||||
|         /we4101 # 'identifier': unreferenced local variable |         /we4101 # 'identifier': unreferenced local variable | ||||||
|  |         /we4189 # 'identifier': local variable is initialized but not referenced | ||||||
|         /we4265 # 'class': class has virtual functions, but destructor is not virtual |         /we4265 # 'class': class has virtual functions, but destructor is not virtual | ||||||
|         /we4388 # signed/unsigned mismatch |         /we4388 # signed/unsigned mismatch | ||||||
|         /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect |         /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user