The InArary variable serves no purpose. just do the work immediately.
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>
return True if __ValidString.match(Str) else False\r
\r
def BuildOptionValue(PcdValue, GuidDict):\r
- IsArray = False\r
if PcdValue.startswith('H'):\r
InputValue = PcdValue[1:]\r
elif PcdValue.startswith("L'") or PcdValue.startswith("'"):\r
else:\r
InputValue = PcdValue\r
if IsFieldValueAnArray(InputValue):\r
- IsArray = True\r
- if IsArray:\r
try:\r
PcdValue = ValueExpressionEx(InputValue, 'VOID*', GuidDict)(True)\r
except:\r