]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
vnc: Remove the superfluous break
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Mon, 13 Jul 2020 09:04:46 +0000 (17:04 +0800)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 1 Sep 2020 06:36:53 +0000 (08:36 +0200)
Remove the superfluous break, as there is a "return" before.

Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>a
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1594631086-36509-1-git-send-email-wang.yi59@zte.com.cn>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
ui/vnc-enc-tight.c

index 1e0851826a842f165f8b88fd16f7f7e8c76ba0cc..cebd35841a9275ea9d3781081cf63679987b70c9 100644 (file)
@@ -1125,7 +1125,6 @@ static int send_palette_rect(VncState *vs, int x, int y,
     }
     default:
         return -1; /* No palette for 8bits colors */
-        break;
     }
     bytes = w * h;
     vs->tight->tight.offset = bytes;