diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-01-21 12:50:53 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-01-26 13:20:44 +0000 |
commit | be688dfb8ddf7841fb277800977a0a878b68ae42 (patch) | |
tree | 57aeede9a33ab6b94b5da7d1502f4229b05b76e0 /target-lm32/op_helper.c | |
parent | 139bd956eaf1675209009b22764a46bd220e287c (diff) |
hw/omap_dma, hw/omap_spi: 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 'target-lm32/op_helper.c')
0 files changed, 0 insertions, 0 deletions