aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-25 14:57:03 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-03-08 15:22:11 +0000
commit0ea5c0cdb0d87b5848cbe749598716bc62fd334a (patch)
treee932a20075cdaee364e2684fc7adfd63169e61b7 /ui
parentba79c88604e3b602967705a66f683ff892980111 (diff)
downloadqemu-0ea5c0cdb0d87b5848cbe749598716bc62fd334a.zip
qemu-0ea5c0cdb0d87b5848cbe749598716bc62fd334a.tar.gz
qemu-0ea5c0cdb0d87b5848cbe749598716bc62fd334a.tar.bz2
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 <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/vnc-enc-hextile-template.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/vnc-enc-hextile-template.h b/ui/vnc-enc-hextile-template.h
index b9f9f5e..a7310e1 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;
}