From: Stefan Weil Date: Sat, 25 Feb 2012 13:57:03 +0000 (+0100) Subject: vnc: Add break statement X-Git-Tag: v1.1-rc0~260^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ea5c0cdb0d87b5848cbe749598716bc62fd334a;p=thirdparty%2Fqemu.git vnc: Add break statement This was not a bug, but it is not common practice to omit the break statement from the last case statement before an empty default case. Any change of the default case would introduce a bug. This was reported as a warning by splint. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- diff --git a/ui/vnc-enc-hextile-template.h b/ui/vnc-enc-hextile-template.h index b9f9f5ef891..a7310e19475 100644 --- a/ui/vnc-enc-hextile-template.h +++ b/ui/vnc-enc-hextile-template.h @@ -175,6 +175,7 @@ static void CONCAT(send_hextile_tile_, NAME)(VncState *vs, /* we really don't have to invalidate either the bg or fg but we've lost the old values. oh well. */ } + break; default: break; }