commit | de16017dc8f2c33c73bd3faebf3c626c400af5e4 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Jan 21 12:50:56 2013 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Jan 26 13:20:44 2013 +0000 |
tree | 3de663a5c2e631dd3ba5464c8f74bb7a8a779a16 | |
parent | 89556d1725d7c10a54ec66087e940727873f38a3 [diff] |
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>