From: Liao Pingfang Date: Mon, 13 Jul 2020 09:04:46 +0000 (+0800) Subject: vnc: Remove the superfluous break X-Git-Tag: v5.2.0-rc0~146^2~39 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d560a06c608d2d32156fdacdb72aba2294bedec4;p=users%2Fdwmw2%2Fqemu.git vnc: Remove the superfluous break Remove the superfluous break, as there is a "return" before. Signed-off-by: Liao Pingfang a Signed-off-by: Yi Wang Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Juan Quintela Message-Id: <1594631086-36509-1-git-send-email-wang.yi59@zte.com.cn> Signed-off-by: Laurent Vivier --- diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c index 1e0851826a..cebd35841a 100644 --- a/ui/vnc-enc-tight.c +++ b/ui/vnc-enc-tight.c @@ -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;