mirror of https://github.com/acidanthera/audk.git
[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:
parent
057ac410e3
commit
07355bd5cc
|
@ -1722,7 +1722,7 @@ Returns:
|
|||
|
||||
--*/
|
||||
{
|
||||
if ((BaseAddress >= 0) && (FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
|
||||
if ((FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue