aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-05-25 06:53:44 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-06-04 09:44:10 +0200
commitbc820db0647040be38e693e0ca14fd49d8cf51ed (patch)
tree2e1361e4c74466e55893408b92f63b825ed85467
parent392fba9f583223786f844dce9b2e7f9a0ce0147a (diff)
bochs-display: add missing break
Fixes: CID 1391291 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180525045344.28347-1-kraxel@redhat.com
-rw-r--r--hw/display/bochs-display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/bochs-display.c b/hw/display/bochs-display.c
index c33524b558..1187d77576 100644
--- a/hw/display/bochs-display.c
+++ b/hw/display/bochs-display.c
@@ -158,6 +158,7 @@ static int bochs_display_get_mode(BochsDisplayState *s,
/* best effort: support native endianess only */
mode->format = PIXMAN_r5g6b5;
mode->bytepp = 2;
+ break;
case 32:
mode->format = s->big_endian_fb
? PIXMAN_BE_x8r8g8b8