diff options
author | Eric Dong <eric.dong@intel.com> | 2013-12-26 04:19:37 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-12-26 04:19:37 +0000 |
commit | 80873def607ba8056e5aab40eaa3be07e9a5ec19 (patch) | |
tree | ca3c56dd737b1b7a6b2467adcefeb58e0586ca35 /MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | |
parent | b8b5ff5acd0d292bcd804e589d28677af5098573 (diff) | |
download | edk2-platforms-80873def607ba8056e5aab40eaa3be07e9a5ec19.tar.xz |
Keep consistent about the return value between the caller and callee.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15021 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Setup.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index c7c7f9ae43..3671c0ed1c 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c @@ -5062,6 +5062,8 @@ SaveReminder ( } else if (DataSavedAction == BROWSER_DISCARD_CHANGES) {
DiscardForm (NULL, NULL, SystemLevel);
break;
+ } else if (DataSavedAction == BROWSER_NO_CHANGES) {
+ break;
}
} while (1);
|