From nobody Fri Apr 19 15:17:03 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org ARC-Seal: i=1; a=rsa-sha256; t=1584377004; cv=none; d=zohomail.com; s=zohoarc; b=SfSCN4cx9VxQ7o3CMdsb9chy9lTA9yipw/S+a3ZrprFdmRVuNHFIaTWfPpDuH7uaAqN7i3ocFzmrXusDL8nfXNlTX/QWzlg5p5MYC3Hm7oYZj3sxFuOZytkWBHb2zDUbzqcpfE43Aad2GPLdMpNSg8rtWCRC9RE1bm6qb2B0DHM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1584377004; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Subject:To; bh=UfAGqMN9CMaJGbwGqaoT7mi96DDQrSjFdSZ2dO2Pqao=; b=KURPzEZt21duBks8iUWMMPgme/yWwujNuVIernPdkZW2AUQgukLnxB27/H+TJHlqkvJCEckcUw18UCWf/Ic3h6CkcmdkXuwhMqMML0dCgpFSRIM/2HljQ/sHr9Fr2vvZGLCRz9uiE7w0Y5yOkkt8/eE8fjVL2n6vPRRR+6mGQKM= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1584377004422794.3558403518897; Mon, 16 Mar 2020 09:43:24 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 633AAB01AA1; Mon, 16 Mar 2020 16:43:20 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id AD52BB01A80 for ; Mon, 16 Mar 2020 16:43:04 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 5121720645A18; Mon, 16 Mar 2020 17:43:04 +0100 (CET) To: seabios@seabios.org From: Paul Menzel Message-ID: Date: Mon, 16 Mar 2020 17:43:03 +0100 MIME-Version: 1.0 Content-Language: en-US Message-ID-Hash: 726BCE7VCKJW2EOXO2JD5FVRHTXHHUR4 X-Message-ID-Hash: 726BCE7VCKJW2EOXO2JD5FVRHTXHHUR4 X-MailFrom: pmenzel@molgen.mpg.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Stefan Reinauer X-Mailman-Version: 3.3.1 Precedence: list Subject: [SeaBIOS] [PATCH] kbd: Fix compilation with Chrome OS toolchain List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: +++ X-Spam-Level: *** Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org Content-Type: text/plain; charset="utf-8"; format="flowed" From: Stefan Reinauer Date: Tue, 4 Nov 2014 16:16:46 -0800 gcc complains about using potentially unused variables. BUG=3Dnone BRANCH=3Dnone TEST=3Demerge-panther chromeos-seabios builds an image again Signed-off-by: Stefan Reinauer Change-Id: I6c3d556a6519a5baa3a345e4dcb33b37b22db1b3 Reviewed-on: https://chromium-review.googlesource.com/227520 Reviewed-by: Patrick Georgi Reviewed-by: Stefan Reinauer Commit-Queue: Stefan Reinauer Tested-by: Stefan Reinauer --- src/kbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kbd.c b/src/kbd.c index 15e5ae7..3f08d32 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -162,7 +162,7 @@ handle_1609(struct bregs *regs) static void noinline handle_160a(struct bregs *regs) { - u8 param[2]; + u8 param[2] =3D { 0, 0 }; int ret =3D kbd_command(ATKBD_CMD_GETID, param); if (ret) { regs->bx =3D 0; --=20 2.25.1 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org