OSDN Git Service

bochs-display: add missing break
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 May 2018 04:53:44 +0000 (06:53 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 4 Jun 2018 07:44:10 +0000 (09:44 +0200)
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

hw/display/bochs-display.c

index c33524b..1187d77 100644 (file)
@@ -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