summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorWang Fan <fan.wang@intel.com>2018-01-03 10:18:29 +0800
committerFu Siyuan <siyuan.fu@intel.com>2018-01-04 10:55:14 +0800
commitcf4a8fa455c63feaffdb0fbc5b7c72729ffbb17f (patch)
tree1e7a58ad66b59c9a2a77529b805790aae82140ec /BaseTools/Source/Python
parent2a2f01b9a08d82b9a0de8d893c4c845edaae81b8 (diff)
downloadedk2-cf4a8fa455c63feaffdb0fbc5b7c72729ffbb17f.tar.gz
edk2-cf4a8fa455c63feaffdb0fbc5b7c72729ffbb17f.tar.bz2
edk2-cf4a8fa455c63feaffdb0fbc5b7c72729ffbb17f.zip
MdeModulePkg/DxeNetLib: Add parameter check and ASSERT handling.
* Library API should check the input parameters before use, or ASSERT to tell it has to meet some requirements. But in DxeNetLib, not all functions follows this rule. * ASSERT shouldn't be used as error handling, add some handling code for errors. * Add some ASSERT commence in function notes. Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wang Fan <fan.wang@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions