Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nOnv2-0003pl-HP for mharc-grub-devel@gnu.org; Mon, 28 Feb 2022 16:51:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOmwo-0005H9-HA for grub-devel@gnu.org; Mon, 28 Feb 2022 15:48:46 -0500 Received: from smtp26.services.sfr.fr ([93.17.128.20]:38246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOmwm-0000sj-GI for grub-devel@gnu.org; Mon, 28 Feb 2022 15:48:46 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4K6st24LtRz1LQLpD", "contextId":"88ac56a1-98a3-422b-98a0-0307ef7c2d6f"} Received: from debian.numericable.fr (89-156-196-228.rev.numericable.fr [89.156.196.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2629.sfr.fr (SMTP Server) with ESMTPS id 4K6st24LtRz1LQLpD; Mon, 28 Feb 2022 21:48:42 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4K6st23R7nz1LQKd4", "contextId":"e2d98147-d95f-46b9-8db0-8ad7359d23d8"} X-sfr-mailing: LEGIT X-sfr-spamrating: 40 X-sfr-spam: not-spam DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=noos.fr; s=202006; t=1646081322; h=From:To:Cc:Subject:Date:In-Reply-To:References; bh=iwcvud3mPK TtsCFmUVv1BeTPn9c2XOMEd830m3UW+DU=; b=KCfoWMBWvXIfPaeD46tvTltjOspYhSwt6c7wsr aEQq2BwG58LoFZFcoDEiNI3VAK8Hn9dE0LcXj4VISO1Wd6IJTsfwZ15GKVEx843uXiCU9Av8PU/F r/yzb0B/f1YNNRkm10p3Eyc2LIWujCg0dnDn2/fqthh/103vwugDRLMslzOxfw9CWy05wYMt+pWF E9kvMao5h2lQLolZuIU9rKV506RJAjgnUg8H6+ZdewOqu0etjRTjMoO4h5WYz2GUbZEqzjB640BC 6tIkys9fiE5nVELJ1QdhVED8upvYf3TkXmZhKsaQ80yH5ULtlX1iEdXC5TlrF3YI0ku2HmevsAVA == Received: from debian.numericable.fr (89-156-196-228.rev.numericable.fr [89.156.196.228]) by msfrf2629.sfr.fr (SMTP Server) with ESMTP id 4K6st23R7nz1LQKd4; Mon, 28 Feb 2022 21:48:42 +0100 (CET) Received: from debian.numericable.fr (89-156-196-228.rev.numericable.fr [89.156.196.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ehaouas@noos.fr) by msfrf2629.sfr.fr (SMTP Server) with ESMTPSA; Mon, 28 Feb 2022 21:48:42 +0100 (CET) Authentication-Results: sfr.fr; auth=pass (LOGIN) smtp.auth=ehaouas@noos.fr From: Elyes Haouas To: grub-devel@gnu.org Cc: Elyes Haouas Subject: [PATCH 2/2] grub-core/loader/i386/multiboot_mbi.c: Remove dead increment Date: Mon, 28 Feb 2022 21:48:35 +0100 Message-Id: <20220228204835.66182-2-ehaouas@noos.fr> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220228204835.66182-1-ehaouas@noos.fr> References: <20220228204835.66182-1-ehaouas@noos.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=93.17.128.20; envelope-from=ehaouas@noos.fr; helo=smtp26.services.sfr.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 28 Feb 2022 16:50:59 -0500 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2022 20:48:46 -0000 The value stored to 'ptrdest' is never read Signed-off-by: Elyes Haouas --- grub-core/loader/i386/multiboot_mbi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/grub-core/loader/i386/multiboot_mbi.c b/grub-core/loader/i386/multiboot_mbi.c index a67d9d0a8..663b25cc5 100644 --- a/grub-core/loader/i386/multiboot_mbi.c +++ b/grub-core/loader/i386/multiboot_mbi.c @@ -609,7 +609,6 @@ grub_multiboot_make_mbi (grub_uint32_t *target) ptrorig += sizeof (struct grub_vbe_info_block); ptrdest += sizeof (struct grub_vbe_info_block); ptrorig += sizeof (struct grub_vbe_mode_info_block); - ptrdest += sizeof (struct grub_vbe_mode_info_block); #endif #ifdef GRUB_MACHINE_EFI -- 2.35.1