From: Carsey, Jaben Date: Thu, 8 Mar 2018 00:45:18 +0000 (+0800) Subject: BaseTools: GlobalData remove unused variable X-Git-Tag: edk2-stable201903~2214 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=7878f706e7eb8f29f66961d20eaa3e97dac22b00;hp=b31501c90abcea74c03e86a3bd9f6190cb4e1ddd BaseTools: GlobalData remove unused variable gWideStringPattern is not used. Cc: Yonghong Zhu Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey Reviewed-by: Yonghong Zhu --- diff --git a/BaseTools/Source/Python/Common/GlobalData.py b/BaseTools/Source/Python/Common/GlobalData.py index f7d4d577f9..8b36a1b773 100644 --- a/BaseTools/Source/Python/Common/GlobalData.py +++ b/BaseTools/Source/Python/Common/GlobalData.py @@ -47,8 +47,7 @@ gDefaultStores = [] gMacroRefPattern = re.compile("\$\(([A-Z][_A-Z0-9]*)\)", re.UNICODE) gMacroDefPattern = re.compile("^(DEFINE|EDK_GLOBAL)[ \t]+") gMacroNamePattern = re.compile("^[A-Z][A-Z0-9_]*$") -# C-style wide string pattern -gWideStringPattern = re.compile('(\W|\A)L"') + # # A global variable for whether current build in AutoGen phase or not. #