diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2018-08-14 15:33:03 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2018-08-14 15:33:03 +0800 |
commit | b1429dae6d20810a64a771d32bbfa5d20bf9a3de (patch) | |
tree | cd96510bda79813136380d688145acb668a95824 | |
parent | ce3fe5ea2186566f2a5b8f255a7bb7ea7820cf3e (diff) | |
download | edk2-b1429dae6d20810a64a771d32bbfa5d20bf9a3de.tar.gz |
EmbeddedPkg/AbootimgLib: fix unused Status variable
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
-rw-r--r-- | EmbeddedPkg/Library/AbootimgLib/AbootimgLib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/EmbeddedPkg/Library/AbootimgLib/AbootimgLib.c b/EmbeddedPkg/Library/AbootimgLib/AbootimgLib.c index 7b81d079c..b4cd1e4d2 100644 --- a/EmbeddedPkg/Library/AbootimgLib/AbootimgLib.c +++ b/EmbeddedPkg/Library/AbootimgLib/AbootimgLib.c @@ -268,6 +268,7 @@ AllocateRamdisk ( ASSERT (IS_POWER_OF_2 (Header->PageSize)); + Status = EFI_SUCCESS; if (Header->RamdiskAddress && Header->RamdiskSize) { Address = (EFI_PHYSICAL_ADDRESS)(UINTN)Header->RamdiskAddress; Status = gBS->AllocatePages ( |