From nobody Sat May 18 05:04:53 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1594600333; cv=none; d=zohomail.com; s=zohoarc; b=bekDSOu/D38q1ofsqkaJtIV7z0KT8ngt4cRplnetJfSuK9O2HSyk6DI2HrukGDhnZMbG/MMkwzFteOUYiQLzLhdf/YnjKgeWvpExu2AE/t75+42yF8WoSMrmGweuU4ibVIbOit9dYTP9O+ILbs+TDcfBZJ7KhMrs7aOBIDV+4dY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594600333; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=U8ZbhE5wknuWeQFErjp6RA0/emHena6Xqc2WT9S+Trw=; b=TMcyRLPTqy2QvfTTn0KnIW5JtXfb3jF3TtjwR989bs0gV5dj0pgb4tacQwV94JxLaFYPTGgr9IySGU45agGt5H7aZMVlJXsYrXlRDMJzdp6gUEPTXWh26OFtjolCiTkwuYJSYax58NbfT2mXTX4Mdf3Hu8XKySn7TQ0Jb+CzRDI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1594600332126640.9751769188915; Sun, 12 Jul 2020 17:32:12 -0700 (PDT) Received: from localhost ([::1]:51922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jumOA-0006o7-9t for importer@patchew.org; Sun, 12 Jul 2020 20:32:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jumMr-0005Nx-TT for qemu-devel@nongnu.org; Sun, 12 Jul 2020 20:30:49 -0400 Received: from out1.zte.com.cn ([202.103.147.172]:58928 helo=mxct.zte.com.cn) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jumMq-0004dr-2F for qemu-devel@nongnu.org; Sun, 12 Jul 2020 20:30:49 -0400 Received: from mse-fl2.zte.com.cn (unknown [10.30.14.239]) by Forcepoint Email with ESMTPS id DE4B79060DF732544421 for ; Mon, 13 Jul 2020 08:30:45 +0800 (CST) Received: from notes_smtp.zte.com.cn (notessmtp.zte.com.cn [10.30.1.239]) by mse-fl2.zte.com.cn with ESMTP id 06D0Ui7A001555 for ; Mon, 13 Jul 2020 08:30:44 +0800 (GMT-8) (envelope-from wang.yi59@zte.com.cn) Received: from fox-host8.localdomain ([10.74.120.8]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2020071308304666-4262426 ; Mon, 13 Jul 2020 08:30:46 +0800 From: Yi Wang To: qemu-devel@nongnu.org Subject: [PATCH] vnc: Remove the superfluous break Date: Mon, 13 Jul 2020 08:33:56 +0800 Message-Id: <1594600436-23162-1-git-send-email-wang.yi59@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2020-07-13 08:30:46, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2020-07-13 08:30:45, Serialize complete at 2020-07-13 08:30:45 X-MAIL: mse-fl2.zte.com.cn 06D0Ui7A001555 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=202.103.147.172; envelope-from=wang.yi59@zte.com.cn; helo=mxct.zte.com.cn X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/12 20:30:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wang.yi59@zte.com.cn, Liao Pingfang , wang.liang82@zte.com.cn, xue.zhihong@zte.com.cn Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Liao Pingfang Remove the superfluous break, as there is a "return" before. Signed-off-by: Liao Pingfang Reviewed-by: Richard Henderson --- ui/vnc-enc-tight.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c index 1e08518..cebd358 100644 --- a/ui/vnc-enc-tight.c +++ b/ui/vnc-enc-tight.c @@ -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 =3D w * h; vs->tight->tight.offset =3D bytes; --=20 2.9.5