summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/UPT/Core/PackageFile.py
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-07-29 11:25:37 +0800
committerdavid wei <david.wei@intel.com>2016-08-03 11:08:33 +0800
commit55ef35d21eea88a0785cfec47df5059945fb0f0c (patch)
treec7560c2955b97f0a2cf962c76db6015d8a922ede /BaseTools/Source/Python/UPT/Core/PackageFile.py
parent135ea32a199b68b0edbdc8699efda5a90d0a41e0 (diff)
downloadedk2-platforms-55ef35d21eea88a0785cfec47df5059945fb0f0c.tar.xz
Vlv2TbltDevicePkg/PpmPolicy: Remove the usage of global variables
gcc issued the error of "multiple deifintion" since gBS was also defined in MdePkg/Library/UefiBootServicesTableLib. Actually those global variables, gBS, pBS, and pRS, in PpmPolicy.h were only used in one function. Besides, gBS and pRS were not really used. Remove gBS and pRS and declare pBS in PpmPolicyEntry() to satisfy gcc. Cc: David Wei <david.wei@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: David Wei <david.wei@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/Core/PackageFile.py')
0 files changed, 0 insertions, 0 deletions