From 42e2ff2eb4cda6013ab995757d867f566404cc55 Mon Sep 17 00:00:00 2001 From: Garrett Kirkendall Date: Fri, 14 Nov 2014 08:44:41 +0000 Subject: [PATCH] MdeModulePkg/Core/PiSmmCore/PiSmmCore.c: Fix compiler warning about variable set but unused Fix compiler warning about variable set but unused by returning status of last operation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Garrett Kirkendall Reviewed-by: Feng Tian git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16381 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c index d16baedec9..3222a92a79 100644 --- a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c +++ b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c @@ -271,7 +271,7 @@ SmmEndOfDxeHandler ( EFI_NATIVE_INTERFACE, NULL ); - return EFI_SUCCESS; + return Status; } /** -- 2.39.2