BaseTools: Eot tool never populates this dictionary
we initialize this dict and then check it's contents, but never add items. we can remove it without any effect. Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
5af2a627d1
commit
140b2b11a0
@ -340,14 +340,6 @@ class Eot(object):
|
||||
GuidMacro2 = ''
|
||||
GuidValue = ''
|
||||
|
||||
# Find value for hardcode guid macro
|
||||
if GuidName in EotGlobalData.gGuidMacroDict:
|
||||
GuidMacro = EotGlobalData.gGuidMacroDict[GuidName][0]
|
||||
GuidValue = EotGlobalData.gGuidMacroDict[GuidName][1]
|
||||
SqlCommand = """update Report set GuidMacro = '%s', GuidValue = '%s' where GuidName = '%s'""" %(GuidMacro, GuidValue, GuidName)
|
||||
EotGlobalData.gDb.TblReport.Exec(SqlCommand)
|
||||
continue
|
||||
|
||||
# Find guid value defined in Dec file
|
||||
if GuidName in EotGlobalData.gGuidDict:
|
||||
GuidValue = EotGlobalData.gGuidDict[GuidName]
|
||||
|
Reference in New Issue
Block a user