[BaseTools] clang warns that since BaseAddress is unsigned it can never be < 0.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anderw Fish <afish@apple.com>
Reviewed-by: Gao, Liming <liming.gao@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15931 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Anderw Fish 2014-08-28 05:02:35 +00:00 committed by andrewfish
parent 057ac410e3
commit 07355bd5cc
1 changed files with 1 additions and 1 deletions

View File

@ -1722,7 +1722,7 @@ Returns:
--*/
{
if ((BaseAddress >= 0) && (FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
if ((FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
return EFI_SUCCESS;
}