diff options
-rw-r--r-- | BaseTools/Source/Python/build/BuildReport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/build/BuildReport.py b/BaseTools/Source/Python/build/BuildReport.py index e457660..0b98d62 100644 --- a/BaseTools/Source/Python/build/BuildReport.py +++ b/BaseTools/Source/Python/build/BuildReport.py @@ -780,7 +780,7 @@ class PcdReport(object): # Collect the PCD defined in DSC/FDF file, but not used in module
#
UnusedPcdFullList = []
- StructPcdDict = GlobalData.gStructurePcd[self.Arch]
+ StructPcdDict = GlobalData.gStructurePcd.get(self.Arch, collections.OrderedDict())
for Name, Guid in StructPcdDict:
if (Name, Guid) not in Pa.Platform.Pcds:
Pcd = StructPcdDict[(Name, Guid)]
|