summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/Misc.py
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2019-10-15 06:36:34 +0300
committerLiming Gao <liming.gao@intel.com>2019-11-06 08:26:21 +0300
commit0c1541d457832d3f68158cf61d21c30fe32bb885 (patch)
treec1e6af62abda51107e825284b03083491f7f3c5b /BaseTools/Source/Python/Common/Misc.py
parent3fb7e094efc87c46fffb2d755183bbe70da09396 (diff)
downloadedk2-0c1541d457832d3f68158cf61d21c30fe32bb885.tar.xz
MdeModulePkg/SetupBrowserDxe: ASSERT GetBufferForValue(&Value)
Before called by GetBufferForValue(), Value has already been called function IsTypeInBuffer to make sure the value must be buffer type. So GetBufferForValue can not return NULL. This commit adds ASSERT to assume (GetBufferForValue (&Value) is not NULL. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Misc.py')
0 files changed, 0 insertions, 0 deletions