]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Base.h
1) Add type casting for argument "a" in EFI_ERROR(a), since if compare two constants...
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 15 Aug 2007 06:17:29 +0000 (06:17 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 15 Aug 2007 06:17:29 +0000 (06:17 +0000)
commitcdebf6c68a11e3e41943825049d415c64e49555a
tree6a5c7aeda6c4ce90864eb1791e82bc9d182455c6
parent9833aeafa36e50e88765ab8d67251e748db347ba
1) Add type casting for argument "a" in EFI_ERROR(a), since if compare two constants without specify data type, compiler maybe could not understand what is the actual data type of constant. The default would treat it as unsigned data. therefore, if the argument a of EFI_ERROR(a) is constant, for instance the EFI_LOAD_ERROR, the EFI_ERROR(a) would always be FALSE.
2) Remove PcdDriverPcdLibNull.
3) Add more ASSERT() in BasePcdLibNull to detect the incorrect usage of Pcd Library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3643 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/PcdDriverPcdLibNull/PcdLib.c [deleted file]
MdeModulePkg/Library/PcdDriverPcdLibNull/PcdLib.inf [deleted file]
MdePkg/Include/Base.h
MdePkg/Library/BasePcdLibNull/PcdLib.c
Nt32Pkg/Nt32Pkg.dsc