]> git.proxmox.com Git - qemu.git/commit
Add 'fall through' comments to case statements without break
authorStefan Weil <sw@weilnetz.de>
Mon, 9 Jan 2012 17:29:51 +0000 (18:29 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 13 Jan 2012 10:36:59 +0000 (10:36 +0000)
commit0b0404bf84432f0ee74840d674b93bacee7eee68
treef8ba2feae78afdda61a37ecdd9de413e962318e1
parent3c8359d11aee9d3fdcab0f184605f603f91f34f7
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>
hw/pcnet.c
json-lexer.c
qemu-option.c