From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 02A21740032 for ; Thu, 4 Jan 2024 11:56:39 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=V7Ul4+U4jsPhX7wSiIN+dxEdi5DqfY+D569svY2YqTs=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1704369398; v=1; b=DRCphHp+uDIaF6+jIij8Hv5UdD5DNJOn3K376RmRhiefA6kLkRNTHK2FLl6+NFpqZpAin1Hy ySlukkW2DpugTy3nbuu8c9vNPd2ewTa88SlM1m/JOWjwNfNpbYaEhFj2Mdq0vSD8qgIPNmRDfUR Ej6k67bVqROr1eXVKEw4NZNo= X-Received: by 127.0.0.2 with SMTP id 2o7wYY7687511xe1A9FrrMli; Thu, 04 Jan 2024 03:56:38 -0800 X-Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by mx.groups.io with SMTP id smtpd.web10.52275.1704369397736523702 for ; Thu, 04 Jan 2024 03:56:38 -0800 X-Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2cd1a1c5addso4857161fa.1 for ; Thu, 04 Jan 2024 03:56:37 -0800 (PST) X-Gm-Message-State: dQqDkI3wBtJSZMYw0t1zUtZxx7686176AA= X-Google-Smtp-Source: AGHT+IEz/NzVk4omLOTEcmQAIDc7dmLI/6AelnVWgVWRYYUnrwlLUzU8iM+Jv6g40H7qStVjM9U2fA== X-Received: by 2002:a05:651c:54c:b0:2cc:751d:4324 with SMTP id q12-20020a05651c054c00b002cc751d4324mr308734ljp.70.1704369395635; Thu, 04 Jan 2024 03:56:35 -0800 (PST) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id e5-20020a05651c038500b002cd187bb10esm656731ljp.95.2024.01.04.03.56.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 04 Jan 2024 03:56:34 -0800 (PST) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: Mike Maslenkin , Abner Chang , Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [PATCH] RedfishClientPkg: fix uninitialized variable build error Date: Thu, 4 Jan 2024 14:56:31 +0300 Message-Id: <20240104115631.82653-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=DRCphHp+; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Variable 'Status' may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] Signed-off-by: Mike Maslenkin Cc: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy --- RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c= b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c index c0c3ec476f19..f2373b080c70 100644 --- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c +++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c @@ -146,6 +146,7 @@ StartUpFeatureDriver ( }=0D =0D ThisList =3D ThisFeatureDriverList;=0D + Status =3D EFI_SUCCESS;=0D while (TRUE) {=0D if (ThisList->Callback !=3D NULL) {=0D ThisList->InformationExchange =3D mInformationExchange;=0D --=20 2.32.0 (Apple Git-132) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113161): https://edk2.groups.io/g/devel/message/113161 Mute This Topic: https://groups.io/mt/103520603/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-