summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorGarrett Kirkendall <garrett.kirkendall@amd.com>2014-11-14 08:44:41 +0000
committererictian <erictian@Edk2>2014-11-14 08:44:41 +0000
commit42e2ff2eb4cda6013ab995757d867f566404cc55 (patch)
treed66a130d13b3d3182af8d23b579f1c00aa55bcb3 /MdeModulePkg
parent20333c6d566748d7c78c1b546ba8f37c6d253dea (diff)
downloadedk2-platforms-42e2ff2eb4cda6013ab995757d867f566404cc55.tar.xz
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 <garrett.kirkendall@amd.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16381 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/PiSmmCore/PiSmmCore.c2
1 files changed, 1 insertions, 1 deletions
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;
}
/**