diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-01-21 12:50:56 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-01-26 13:20:44 +0000 |
commit | de16017dc8f2c33c73bd3faebf3c626c400af5e4 (patch) | |
tree | 3de663a5c2e631dd3ba5464c8f74bb7a8a779a16 /fpu | |
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>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions