Revision: 16644
http://sourceforge.net/p/edk2/code/16644
Author: ydong10
Date: 2015-01-23 05:49:31 +0000 (Fri, 23 Jan 2015)
Log Message:
-----------
Avoid change the return status from above code which will also be used later.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
Modified: trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
2015-01-23 05:48:44 UTC (rev 16643)
+++ trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
2015-01-23 05:49:31 UTC (rev 16644)
@@ -1849,6 +1849,7 @@
)
{
EFI_STATUS Status;
+ EFI_STATUS InternalStatus;
EFI_BROWSER_ACTION_REQUEST ActionRequest;
EFI_HII_CONFIG_ACCESS_PROTOCOL *ConfigAccess;
EFI_HII_VALUE *HiiValue;
@@ -2038,8 +2039,8 @@
//
// Do the question validation.
//
- Status = ValueChangedValidation (gCurrentSelection->FormSet,
gCurrentSelection->Form, Statement);
- if (!EFI_ERROR (Status)) {
+ InternalStatus = ValueChangedValidation (gCurrentSelection->FormSet,
gCurrentSelection->Form, Statement);
+ if (!EFI_ERROR (InternalStatus)) {
SetQuestionValue(FormSet, Form, Statement,
GetSetValueWithEditBuffer);
}
}
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits