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 F13FB740039 for ; Sat, 27 Jan 2024 00:01:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=pqlfp2fUjy6kOXujjbnK+8xRFndaaYS4RVZT9MC44us=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: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=1706313694; v=1; b=TCQWMp0csSvfu5q9u6P5cK3r9XdEpLXDkbnWAej+kmO9eEaj1poJ/c3vh9fvPLws5FavrWY9 U3XmatOKf9ws89P9gKXPN8hG7zf2EfKfQEmuxC/pZAZnZFk1s6W+f8aVWOMf3UtqRpMJscD4QlP /OQTQQx/BbcXs0gciPCOj3BY= X-Received: by 127.0.0.2 with SMTP id vgLjYY7687511x6v5zxybDQk; Fri, 26 Jan 2024 16:01:34 -0800 X-Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mx.groups.io with SMTP id smtpd.web10.5477.1706313693798273987 for ; Fri, 26 Jan 2024 16:01:34 -0800 X-Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-51025cafb51so1351038e87.2 for ; Fri, 26 Jan 2024 16:01:33 -0800 (PST) X-Gm-Message-State: OoeKgGLTeNaw3nI2BZHFRp4sx7686176AA= X-Google-Smtp-Source: AGHT+IHs0zagax5RMXLPmacMjDIMjLU4yFEKwqiY5eMwTruHk8iJ3h7g1iOGu2bBviDUB9JFJxHvaQ== X-Received: by 2002:a05:6512:3192:b0:50e:cd02:b53d with SMTP id i18-20020a056512319200b0050ecd02b53dmr333609lfe.15.1706313691862; Fri, 26 Jan 2024 16:01:31 -0800 (PST) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id u17-20020ac243d1000000b0050f076b43ccsm323874lfl.182.2024.01.26.16.01.31 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 26 Jan 2024 16:01:31 -0800 (PST) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [edk2-redfish-client][PATCH 1/2] RedfishClientPkg: fix uninitialized variable build error Date: Sat, 27 Jan 2024 03:01:27 +0300 Message-Id: <20240127000128.67202-2-mike.maslenkin@gmail.com> In-Reply-To: <20240127000128.67202-1-mike.maslenkin@gmail.com> References: <20240127000128.67202-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=TCQWMp0c; 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: Igor Kulchytskyy Reviewed-by: Nickle Wang --- RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c= b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c index dce83a8a986f..e76f8d106987 100644 --- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c +++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c @@ -152,6 +152,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 (#114644): https://edk2.groups.io/g/devel/message/114644 Mute This Topic: https://groups.io/mt/103988339/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-