]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
ShellPkg: Refine the comparisons code in ShellPkg.
authorQiu Shumin <shumin.qiu@intel.com>
Mon, 28 Mar 2016 06:05:57 +0000 (14:05 +0800)
committerQiu Shumin <shumin.qiu@intel.com>
Tue, 29 Mar 2016 13:46:35 +0000 (21:46 +0800)
commitac14846aad016a1f88ebe4a09e00779dd03fcf88
treeb4b667238a0f9b0da615872b600544e268f7320e
parente33257215b984fd624cc51b33e9cc14d7321eab6
ShellPkg: Refine the comparisons code in ShellPkg.

For Boolean values not use explicit comparisons to TRUE or FALSE. For non-Boolean
comparisons we should use a compare operator.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c