From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web12.1196.1614130713701245393 for ; Tue, 23 Feb 2021 17:38:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vY4wzGTc; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: naitaku@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id q20so230642pfu.8 for ; Tue, 23 Feb 2021 17:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=q6F3/0WMjKTdhdliyosc2Ms1XAwnDqnp1zh3DLerEW4=; b=vY4wzGTcqoy36gHod16sI+3K9egae6jlt9NZiP5LdcQj+dX+CTl56DhY37EzGyTKNA BhRudFF1Vk7VeLUQJHsmtEHr/QCfBmBBFxOgqGiy2H6slh2GmHR/9DAFSwHb5bL4d5c9 6vbNBOTTv0Qp/0bIUkgiMGzHiIGI4dbRzjzpPukmGg+SJmB3/JgyncCdb6Tt+xJmbU3e bRNqRpiOJlVQa1xhkI+xfmY0wwPtDH3rkqKOwT2AF2SBTUqug4eRJ4ewUspuXJ7WpEQu Qb19L0pv3GeJ/su7+8SzMEQxDL99T7OXdIPGmvlJQOtx6XoRjph7jOjXRDBiHbMxVzs1 Ko6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=q6F3/0WMjKTdhdliyosc2Ms1XAwnDqnp1zh3DLerEW4=; b=fQ+JHlOlpm+mQoQpGI99gkmzz/sOr1gEjBKXdZwaYDv/dLH6UWC8omR+DTpj5xM+6+ Ox32eqnwCL13uMqzke5H2C5PP27b4T9qFDAFnJm+v2GmwDdyniplJG7JUQAKE1bjsKS8 IgDzhvxNpnoQxl+7Jp1PqZGqABsx7Yps1kfDBKZHPR0buI9oy2iL6YIx4Rsf6y7yYFgl geyadcIIrbqa1UWcg+Vv4tUKyZwSZooo9EMtOUPPucz1oFH9SEhPaxSkvwp3nYwbVQ88 PhtnwV4OjoTLz50Gd1nwgB5YZcYl0vaHIf7GKgLJGsiN+OlXuRwVAf0R6luT4dhZHxMQ XGPg== X-Gm-Message-State: AOAM531d3vi9lSp6+mh24J9YOoJ95cfaz+aCudIQUqmdh01QiObCCHVI k0o9rMWEY3YgdsKNKt0GAWl48p2Hh4YsgaeF X-Google-Smtp-Source: ABdhPJx4bg7O4lbfIqXs0DPn8MjMv0Sprwj3invBhtDSAa+QsGOm2Ey9YKWH/9zc5E9H93i3nKmJjQ== X-Received: by 2002:a63:ee4e:: with SMTP id n14mr26511386pgk.422.1614130712730; Tue, 23 Feb 2021 17:38:32 -0800 (PST) Return-Path: Received: from localhost.localdomain ([240d:1e:84:2c00:4c90:1fc7:fcf3:2538]) by smtp.googlemail.com with ESMTPSA id bj9sm340236pjb.49.2021.02.23.17.38.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Feb 2021 17:38:32 -0800 (PST) From: "Takuto Naito" To: devel@edk2.groups.io Cc: Takuto Naito , Sai Chaganty , Nate DeSimone , Heng Luo Subject: [PATCH edk2-platforms v1 0/2] TigerlakeOpenBoardPkg: Fix build error with GCC5 Date: Wed, 24 Feb 2021 10:37:34 +0900 Message-Id: <20210224013736.74815-1-naitaku@gmail.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3224 Fix build errors caused by "-Werror=unused-but-set-variable" with GCC5. These build errors occur only with DEBUG target because RELEASE_GCC5_X64_CC_FLAGS has "-Wno-unused-but-set-variable", but DEBUG_GCC5_X64_CC_FLAGS doesn't. https://github.com/naitaku/edk2-platforms/tree/tigerlake_fix_unused-but-set-variable_v1 Cc: Sai Chaganty Cc: Nate DeSimone Cc: Heng Luo Takuto Naito (2): TigerlakeSiliconPkg: Fix build error with GCC5 TigerlakeOpenBoardPkg: Fix build error with GCC5 .../Library/BasePlatformHookLib/BasePlatformHookLib.c | 8 -------- .../Library/BoardInitLib/PeiTigerlakeURvpInitPreMemLib.c | 2 ++ .../LibraryPrivate/PcieClientRpLib/PcieClientRpLib.c | 2 -- .../Vtd/LibraryPrivate/DxeVtdInitLib/DxeVtdInitLib.c | 5 ----- .../Pch/PchSmiDispatcher/Smm/PchSmiHelperClient.c | 2 -- 5 files changed, 2 insertions(+), 17 deletions(-) -- 2.30.1