From e6a7402b3aa0e32e1767c2ec2329671ed85f9899 Mon Sep 17 00:00:00 2001 From: Mikhail Krichanov Date: Wed, 22 Nov 2023 11:29:05 +0300 Subject: [PATCH] BaseUefiImageLib: Removed superfluous returns. --- MdePkg/Library/BaseUefiImageLib/UefiImageLib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/MdePkg/Library/BaseUefiImageLib/UefiImageLib.c b/MdePkg/Library/BaseUefiImageLib/UefiImageLib.c index bc9f610fba..9596b1102a 100644 --- a/MdePkg/Library/BaseUefiImageLib/UefiImageLib.c +++ b/MdePkg/Library/BaseUefiImageLib/UefiImageLib.c @@ -152,7 +152,6 @@ UefiImageInitializeContextPreHash ( ); if (!RETURN_ERROR (Status)) { Context->FormatIndex = UefiImageFormatUe; - return RETURN_SUCCESS; } } @@ -166,7 +165,6 @@ UefiImageInitializeContextPreHash ( ); if (!RETURN_ERROR (Status)) { Context->FormatIndex = UefiImageFormatPe; - return RETURN_SUCCESS; } }