hw/timer/cmsdk-apb-dualtimer: Add missing 'break' statements
commit3e1dd459cbd95c66753f7c9368e680dde2ba60e2
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Sep 2018 13:02:32 +0000 (25 14:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Sep 2018 14:13:24 +0000 (25 15:13 +0100)
tree4ce008a68e85a76c331f5789c1b1b0254d8feac2
parentb187e20f9b902b611ca9288cef5c490cbb2d91dd
hw/timer/cmsdk-apb-dualtimer: Add missing 'break' statements

Add 'break' statements missing from a switch in the APB dual-timer
write function. Spotted by Coverity as CID 1395626 and 1395633.

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180924123122.14549-1-peter.maydell@linaro.org
hw/timer/cmsdk-apb-dualtimer.c