summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2025-04-30 14:45:49 +0200
committerLiming Gao <gaoliming@byosoft.com.cn>2025-07-01 09:51:38 +0800
commit5c558ce5f3631521a790ee8d30de3f4ffcd16f1a (patch)
tree69e310fb42e1cc18a6f8cf47a224c86b7d5ab838 /BaseTools/Source/Python
parent9b52f0c2057abd1204f99916b11a90d031832418 (diff)
downloadedk2-5c558ce5f3631521a790ee8d30de3f4ffcd16f1a.zip
edk2-5c558ce5f3631521a790ee8d30de3f4ffcd16f1a.tar.gz
edk2-5c558ce5f3631521a790ee8d30de3f4ffcd16f1a.tar.bz2
BaseTools: UPT/Xml: Remove unnecessary code
Running the vulture tool on the UPT/Xml folder gave the following report. Remove the unnecessary code. - UPT/Xml/CommonXml.py:585: unused attribute 'LangDefsList' (60% confidence) Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r--BaseTools/Source/Python/UPT/Xml/CommonXml.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/UPT/Xml/CommonXml.py b/BaseTools/Source/Python/UPT/Xml/CommonXml.py
index cfadacf..1c18d7f 100644
--- a/BaseTools/Source/Python/UPT/Xml/CommonXml.py
+++ b/BaseTools/Source/Python/UPT/Xml/CommonXml.py
@@ -582,7 +582,6 @@ class UserExtensionsXml(object):
self.BinaryDescriptionList = []
self.BinaryCopyrightList = []
self.BinaryLicenseList = []
- self.LangDefsList = []
self.DefineDict = {}
self.BuildOptionDict = {}
self.IncludesDict = {}