summaryrefslogtreecommitdiffstats
path: root/QuarkPlatformPkg/Library
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-05-11 16:08:27 -0700
committerMichael Kinney <michael.d.kinney@intel.com>2016-05-13 11:34:32 -0700
commit0c5d4079789767ffabfdfe0d9767d9db348fa2c7 (patch)
tree5890eedab4aad6b6ec70fe9959f6036287f175a1 /QuarkPlatformPkg/Library
parentfb308fdb98777503d1bf1442091a3d51cb404d2d (diff)
downloadedk2-0c5d4079789767ffabfdfe0d9767d9db348fa2c7.tar.gz
edk2-0c5d4079789767ffabfdfe0d9767d9db348fa2c7.tar.bz2
edk2-0c5d4079789767ffabfdfe0d9767d9db348fa2c7.zip
QuarkPlatformPkg: Fix variable set but not used build errors
Fix variable set but not used errors detected by GCC 4.8. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'QuarkPlatformPkg/Library')
-rw-r--r--QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperPei.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperPei.c b/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperPei.c
index 50a0e42743..c242c9ec95 100644
--- a/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperPei.c
+++ b/QuarkPlatformPkg/Library/PlatformHelperLib/PlatformHelperPei.c
@@ -1,7 +1,7 @@
/** @file
Implementation of Helper routines for PEI enviroment.
-Copyright (c) 2013-2015 Intel Corporation.
+Copyright (c) 2013-2016 Intel Corporation.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -63,7 +63,6 @@ PlatformFindFvFileRawDataSection (
EFI_SECTION_TYPE SearchType;
EFI_FV_INFO VolumeInfo;
EFI_FV_FILE_INFO FileInfo;
- CONST EFI_PEI_SERVICES **PeiServices;
if (FileNameGuid == NULL || SectionData == NULL || SectionDataSize == NULL) {
return EFI_INVALID_PARAMETER;
@@ -71,7 +70,6 @@ PlatformFindFvFileRawDataSection (
*SectionData = NULL;
*SectionDataSize = 0;
- PeiServices = GetPeiServicesTablePointer ();
SearchType = EFI_SECTION_RAW;
for (Instance = 0; !EFI_ERROR((PeiServicesFfsFindNextVolume (Instance, &VolumeHandle))); Instance++) {
if (FvNameGuid != NULL) {