aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiao Pingfang <liao.pingfang@zte.com.cn>2020-07-13 17:04:46 +0800
committerLaurent Vivier <laurent@vivier.eu>2020-09-01 08:36:53 +0200
commitd560a06c608d2d32156fdacdb72aba2294bedec4 (patch)
tree6d6c20c478889c42faf0374443f5d6a496e07cd2
parent2e8f68eaef2cf0cf98c49f078a64c7dd12f86508 (diff)
vnc: Remove the superfluous break
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>
-rw-r--r--ui/vnc-enc-tight.c1
1 files changed, 0 insertions, 1 deletions
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;