diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-12-11 16:46:05 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2020-12-18 09:15:47 +0100 |
commit | 61e21b05de63e044dcc24b37ecec7514e326f62c (patch) | |
tree | b2873f2ea57732f794eb3fa94c49eec9bf8d1d84 /hw/rtc | |
parent | 484bed05748d572a851e08412e4fb6bca8814342 (diff) |
hw/rtc/twl92230: Add missing 'break'
Add missing 'break' to fix:
hw/rtc/twl92230.c: In function ‘menelaus_write’:
hw/rtc/twl92230.c:713:5: error: label at end of compound statement
713 | default:
| ^~~~~~~
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20201211154605.511714-1-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/rtc')
-rw-r--r-- | hw/rtc/twl92230.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/rtc/twl92230.c b/hw/rtc/twl92230.c index a787bd247d..006d75e174 100644 --- a/hw/rtc/twl92230.c +++ b/hw/rtc/twl92230.c @@ -697,6 +697,7 @@ static void menelaus_write(void *opaque, uint8_t addr, uint8_t value) #ifdef VERBOSE printf("%s: unknown register %02x\n", __func__, addr); #endif + break; } } |