mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			325 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			325 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract A {
 | |
|     function f() public {
 | |
|         uint x = 3;
 | |
|         uint y = 1;
 | |
|         uint z = (x > y) ? x : y;
 | |
|         uint w = x > y ? x : y;
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // Warning: (87-93): Unused local variable.
 | |
| // Warning: (121-127): Unused local variable.
 | |
| // Warning: (17-150): Function state mutability can be restricted to pure
 |