summaryrefslogtreecommitdiffstats
path: root/fpu
diff options
context:
space:
mode:
authorPeter Maydell2013-01-21 13:50:56 +0100
committerBlue Swirl2013-01-26 14:20:44 +0100
commitde16017dc8f2c33c73bd3faebf3c626c400af5e4 (patch)
tree3de663a5c2e631dd3ba5464c8f74bb7a8a779a16 /fpu
parenthw/smc91c111: Add explicit 'return' rather than relying on fallthrough (diff)
downloadqemu-de16017dc8f2c33c73bd3faebf3c626c400af5e4.tar.gz
qemu-de16017dc8f2c33c73bd3faebf3c626c400af5e4.tar.xz
qemu-de16017dc8f2c33c73bd3faebf3c626c400af5e4.zip
hw/pxa2xx_timer: Explicitly mark fallthroughs
Explicitly mark the fallthroughs as intentional in the code pattern where we gradually increment an index before falling into the code to read/write that array entry: case THINGY_3: idx++; case THINGY_2: idx++; case THINGY_1: idx++; case THINGY_0: return s->thingy[idx]; This makes static analysers happy. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions