]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: GlobalData remove unused variable
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>
Thu, 8 Mar 2018 00:45:18 +0000 (08:45 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 9 Mar 2018 09:39:38 +0000 (17:39 +0800)
gWideStringPattern is not used.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@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>
BaseTools/Source/Python/Common/GlobalData.py

index f7d4d577f99400bb7eba1a88e961d126f983229b..8b36a1b773663f81abc6fa5db0e7693ad0835769 100644 (file)
@@ -47,8 +47,7 @@ gDefaultStores = []
 gMacroRefPattern = re.compile("\$\(([A-Z][_A-Z0-9]*)\)", re.UNICODE)\r
 gMacroDefPattern = re.compile("^(DEFINE|EDK_GLOBAL)[ \t]+")\r
 gMacroNamePattern = re.compile("^[A-Z][A-Z0-9_]*$")\r
 gMacroRefPattern = re.compile("\$\(([A-Z][_A-Z0-9]*)\)", re.UNICODE)\r
 gMacroDefPattern = re.compile("^(DEFINE|EDK_GLOBAL)[ \t]+")\r
 gMacroNamePattern = re.compile("^[A-Z][A-Z0-9_]*$")\r
-# C-style wide string pattern\r
-gWideStringPattern = re.compile('(\W|\A)L"')\r
+\r
 #\r
 # A global variable for whether current build in AutoGen phase or not.\r
 #\r
 #\r
 # A global variable for whether current build in AutoGen phase or not.\r
 #\r