hw/pxa2xx_timer: Explicitly mark fallthroughs
commitde16017dc8f2c33c73bd3faebf3c626c400af5e4
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jan 2013 12:50:56 +0000 (21 12:50 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 26 Jan 2013 13:20:44 +0000 (26 13:20 +0000)
tree3de663a5c2e631dd3ba5464c8f74bb7a8a779a16
parent89556d1725d7c10a54ec66087e940727873f38a3
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>
hw/pxa2xx_timer.c