diff options
author | Anderw Fish <afish@apple.com> | 2014-08-28 05:02:35 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-28 05:02:35 +0000 |
commit | 07355bd5ccf46cabb0ad05f1a058c1cfcbad1081 (patch) | |
tree | c1491f959d3048b3a10b1b19433d8a6f1729f006 | |
parent | 057ac410e3b8331666cd5246d8414b36e0f3d15f (diff) | |
download | edk2-07355bd5ccf46cabb0ad05f1a058c1cfcbad1081.tar.gz edk2-07355bd5ccf46cabb0ad05f1a058c1cfcbad1081.tar.bz2 edk2-07355bd5ccf46cabb0ad05f1a058c1cfcbad1081.zip |
[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
-rw-r--r-- | BaseTools/Source/C/GenVtf/GenVtf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/C/GenVtf/GenVtf.c b/BaseTools/Source/C/GenVtf/GenVtf.c index 60df34906e..256a2b16a9 100644 --- a/BaseTools/Source/C/GenVtf/GenVtf.c +++ b/BaseTools/Source/C/GenVtf/GenVtf.c @@ -1722,7 +1722,7 @@ Returns: --*/
{
- if ((BaseAddress >= 0) && (FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
+ if ((FwVolSize > 0x40) && ((BaseAddress + FwVolSize) % 8 == 0)) {
return EFI_SUCCESS;
}
|