hw/rtc/twl92230: Add missing 'break'
Add missing 'break' to fix:
  hw/rtc/twl92230.c: In function ‘menelaus_write’:
  hw/rtc/twl92230.c:713:5: error: label at end of compound statement
    713 |     default:
        |     ^~~~~~~
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20201211154605.511714-1-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
			
			
This commit is contained in:
		
							parent
							
								
									484bed0574
								
							
						
					
					
						commit
						61e21b05de
					
				@ -697,6 +697,7 @@ static void menelaus_write(void *opaque, uint8_t addr, uint8_t value)
 | 
				
			|||||||
#ifdef VERBOSE
 | 
					#ifdef VERBOSE
 | 
				
			||||||
        printf("%s: unknown register %02x\n", __func__, addr);
 | 
					        printf("%s: unknown register %02x\n", __func__, addr);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					        break;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user