mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	xyz-modem: Add missing fallthrough annotation
Falltroughs in switch statements should be explicit. Addresses-Coverity-ID: 131162 Missing break in switch Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
		
							parent
							
								
									1f66c0e1f4
								
							
						
					
					
						commit
						e54ddc32cf
					
				@ -280,6 +280,7 @@ xyzModem_get_hdr (void)
 | 
			
		||||
	    {
 | 
			
		||||
	    case SOH:
 | 
			
		||||
	      xyz.total_SOH++;
 | 
			
		||||
	      fallthrough;
 | 
			
		||||
	    case STX:
 | 
			
		||||
	      if (c == STX)
 | 
			
		||||
		xyz.total_STX++;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user