From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5GFv-0005gX-QV for qemu-devel@nongnu.org; Wed, 07 Mar 2012 07:46:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5GFt-0002q3-Tw for qemu-devel@nongnu.org; Wed, 07 Mar 2012 07:46:11 -0500 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:35500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5GFt-0002p8-Ic for qemu-devel@nongnu.org; Wed, 07 Mar 2012 07:46:09 -0500 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Mar 2012 12:46:05 -0000 Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q27Ck3aG2588862 for ; Wed, 7 Mar 2012 12:46:03 GMT Received: from d06av10.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q26Mc7X5006658 for ; Tue, 6 Mar 2012 17:38:07 -0500 From: Stefan Hajnoczi Date: Wed, 7 Mar 2012 12:44:43 +0000 Message-Id: <1331124287-6327-10-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1331124287-6327-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1331124287-6327-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 09/13] vnc: Add break statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Stefan Weil , qemu-devel@nongnu.org, Stefan Hajnoczi From: Stefan Weil 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 --- ui/vnc-enc-hextile-template.h | 1 + 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; } -- 1.7.9.1