Skip to content
Snippets Groups Projects
Commit d560a06c authored by Liao Pingfang's avatar Liao Pingfang Committed by Laurent Vivier
Browse files

vnc: Remove the superfluous break


Remove the superfluous break, as there is a "return" before.

Signed-off-by: default avatarLiao Pingfang <liao.pingfang@zte.com.cn&gt;a>
Signed-off-by: default avatarYi Wang <wang.yi59@zte.com.cn>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
Message-Id: <1594631086-36509-1-git-send-email-wang.yi59@zte.com.cn>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 2e8f68ea
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment