]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UefiPxeBcDxe: Refine the CvtNum function logic
authorHao Wu <hao.a.wu@intel.com>
Tue, 15 Nov 2016 08:12:30 +0000 (16:12 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 22 Dec 2016 08:17:21 +0000 (16:17 +0800)
commit81a108434041f6bed629123922772279d98d91a8
tree5c7df89036d4db6b54198b1a969807035a600424
parent69e856dfa56cebfba1abf160f3c86458dde850d4
MdeModulePkg/UefiPxeBcDxe: Refine the CvtNum function logic

This commit refines the logic for the CvtNum function. It avoids using the
decrement operator '--' for array index to prevent possible mis-reports by
static code checkers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.c