]> git.proxmox.com Git - mirror_qemu.git/commitdiff
vnc: Add break statement
authorStefan Weil <sw@weilnetz.de>
Sat, 25 Feb 2012 13:57:03 +0000 (14:57 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 8 Mar 2012 15:22:11 +0000 (15:22 +0000)
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>
ui/vnc-enc-hextile-template.h

index b9f9f5ef89157152662fe19a98b808cfd3dfed3a..a7310e19475eeaa91024bea15b33f1eeb1f732fd 100644 (file)
@@ -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;
     }