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 531917803DF for ; Thu, 4 Jan 2024 09:01:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=QOdKfYGT6AI4fYPBwROSUT49lIUgsO7SzYojB4TMeIM=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF: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:Content-Type; s=20140610; t=1704358882; v=1; b=s/3FrTvty1qRn0rp9fYXn16EYc0wAw2tfhvxFVxSohAV+6qk8XclaALaTv3R26nIoDzteqrg KSDzuNE0HVYchuzU6tZEhurKcbTAHOURLrZuNn8HjQ5lhxoyGS5iUbFcs1YdJHTekTPN9j02OgS Iw8iTcP777D1N2tuO6dpsU84= X-Received: by 127.0.0.2 with SMTP id 3EasYY7687511xGFkYrtti9t; Thu, 04 Jan 2024 01:01:22 -0800 X-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.64]) by mx.groups.io with SMTP id smtpd.web10.50239.1704358882187192493 for ; Thu, 04 Jan 2024 01:01:22 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WxwsQ17QJ2amgD/gGcYybUyiBBfw89hCUsIH6VnzJA76diKNDEqJtwvNDMA8kIj45OCIoFAkR6WJupgWQc/MnU1+YWregnCtKsDPSzY8m8RCsFxlU88kzC7rMQoWc2fBcMZS1BkNLU4KF7BmmAwJeqdsFkderFmkS7jZF1cMw34wV5ME7jsS6cjucEbXef3St0sAZGHtpQ07Lz3zUXvjFu9H8yMJYov2Edd5x3S1kevXDXg8bzl3PbJNBPvACiRFkayv2TIqbb86HLkGln+ulYKNtpIxdHP1LXNfrVRQTBwnP4+WUCiEPD0vLxPf/ZHC0FrkvDd+jPrihx+PjNdgOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Nl/+f5+vAWgLdpvJUedw5259/yormcC2+Ajk9Alaw2g=; b=ldsGhFGBf25A61TTCde4jwfyrnTr4LeQRC14E0F8eeZk9U85dtIDU04G9eT99nVceuHmdAalete47KCJFp6wRUcIr6hnqzavIvVGn3GK9J2JIqBMi/Hnr88emL19Nl11OaetmetxnMJflBu+W6yzbI1YbdoAXnXhlaCGwLCffCwQHKVskma4dKOzThQrQuIpEeMEzVdP99zIYRcHpuJtlSG3vMfezUTeQVLtkzL45Nprgu0B7PlEUcVf8HyAXvIMyiereE117CCg7BPre3g0PaxohcB4/5bfAe2BzA0hxfGa4MSbVz5yrmarIuKvrbE0giPZsKlwWn5w4S2hsAWvEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) X-Received: from SJ0PR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:33b::6) by SA3PR12MB9200.namprd12.prod.outlook.com (2603:10b6:806:39c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.13; Thu, 4 Jan 2024 09:01:19 +0000 X-Received: from MWH0EPF000971E7.namprd02.prod.outlook.com (2603:10b6:a03:33b:cafe::dc) by SJ0PR05CA0001.outlook.office365.com (2603:10b6:a03:33b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.15 via Frontend Transport; Thu, 4 Jan 2024 09:01:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by MWH0EPF000971E7.mail.protection.outlook.com (10.167.243.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7159.9 via Frontend Transport; Thu, 4 Jan 2024 09:01:19 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 4 Jan 2024 03:01:17 -0600 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [edk2-redfish-client][PATCH] RedfishClientPkg/libredfish: Fix build error Date: Thu, 4 Jan 2024 17:00:57 +0800 Message-ID: <20240104090057.1055-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000971E7:EE_|SA3PR12MB9200:EE_ X-MS-Office365-Filtering-Correlation-Id: d0260b91-59ce-48f8-0ff5-08dc0d03b77f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: GBClKIkw3OelVyYvP8xKRztXr4B9XhgupCz9r5EovHU3c+J3Ul2DMf4Hva+AzKWqeabNMR1h31GuEYB78G+it4n/Fn347ty2/X5QzCTE8OLcbOQrRTQDDPPttTw2Kbqd3rfdjIhFVnh+kT8qZ0KeBEH8YlfVx73YX/SiIuxjTrXdJwP4b+d/HTGU0LvMkZmlu0E0D0e4eWSIdgL+Ad2e0A+edK4JvpJJkt0gusH0Ht+NbrpAcJj9qGL4YmXDB5ssFGO/yHa4fUnPGQPns65vmeUtfvNMny8VZiVwKx1SjLtSWo5/m273snALvIYT2+zSdB7ta2L1JGALVI8UvSCqkmiv0Bsypu3LaKPblr+Sjrw9569hg0S3q0FN5FntduHNVzHZsP/kXCwUOqW0AZ40tuzcWme7E05k3H/lq9mAMZpjCrg97pBHPuU4NyW3YeUrDyMgjpypbckDJR/P0XKfevoK1tYk8hwnfp4/9s3TKYMyEf9tCwLz4lyZ8g3EXKrJlKsEe9KwvJKAZzAGmYwN1CsyAOLAqpL687linv7xbRBz8i6/058cA3bVi6t/KygV62udbm5cihdp7FUdhXd01n0bjPHwgjWtpzRN0iF9zunxqoEcUQ+OEHLUppd3DPCptqR0bA9sbUfroI3UHRWWCpuf4ebNEeM565hc6+bF9E1Qrf2xR3VE4b4Fz7DQgUtE6Y6y3lZiPeRe/J8Tc3tO/ZQFZ2w+eYqIMYZOHVwADH9sfBuot4RMIjRzURDmiaQ31WaJzk1X1rWPxh8c1RNBzA== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2024 09:01:19.1888 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0260b91-59ce-48f8-0ff5-08dc0d03b77f X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000971E7.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB9200 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,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: DWIXlbufNaUBiQaAG8BrxCWRx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="s/3FrTvt"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=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 From: Abner Chang Fix uninitialized variable build error Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy --- .../PrivateLibrary/RedfishLib/edk2libredfish/src/service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/= service.c b/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/s= ervice.c index ddd635fe44..99e6b099fd 100644 --- a/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service= .c +++ b/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service= .c @@ -1260,7 +1260,8 @@ deleteUriFromServiceEx ( CHAR8 ContentLengthStr[80]; size_t contentLength; =20 - ret =3D NULL; + ret =3D NULL; + contentLength =3D 0; =20 if ((service =3D=3D NULL) || (uri =3D=3D NULL) || (StatusCode =3D=3D NUL= L)) { return NULL; --=20 2.37.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113155): https://edk2.groups.io/g/devel/message/113155 Mute This Topic: https://groups.io/mt/103519315/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-