mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Add 'fall through' comments to case statements without break
These comments are used by static code analysis tools and in code reviews to avoid false warnings because of missing break statements. The case statements handled here were reported by coverity. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
3c8359d11a
commit
0b0404bf84
3 changed files with 6 additions and 0 deletions
|
@ -1505,6 +1505,7 @@ static void pcnet_bcr_writew(PCNetState *s, uint32_t rap, uint32_t val)
|
|||
#ifdef PCNET_DEBUG
|
||||
printf("BCR_SWS=0x%04x\n", val);
|
||||
#endif
|
||||
/* fall through */
|
||||
case BCR_LNKST:
|
||||
case BCR_LED1:
|
||||
case BCR_LED2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue