diff options
author | Eric Dong <eric.dong@intel.com> | 2014-01-23 01:57:04 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-01-23 01:57:04 +0000 |
commit | 96179cb36e78bd21e64e7b00c0dc914cb9844850 (patch) | |
tree | 4d5ad1c7c8a1e029051ace602bafd3b9ed511fe1 /MdeModulePkg/Universal | |
parent | 5a78d29cb83521617eac4e819a81f981110de7b1 (diff) | |
download | edk2-96179cb36e78bd21e64e7b00c0dc914cb9844850.zip edk2-96179cb36e78bd21e64e7b00c0dc914cb9844850.tar.gz edk2-96179cb36e78bd21e64e7b00c0dc914cb9844850.tar.bz2 |
Refine the logic when return success, should not clean the buffer in this case.
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@15169 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index 0b2138c..5fb83af 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -1,7 +1,7 @@ /** @file
Implementation of interfaces function for EFI_HII_CONFIG_ROUTING_PROTOCOL.
-Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -4480,12 +4480,11 @@ HiiBlockToConfig ( }
if (*StringPtr == 0) {
*Progress = StringPtr;
- Status = EFI_SUCCESS;
AppendToMultiString(Config, ConfigRequest);
HiiToLower (*Config);
- goto Exit;
+ return EFI_SUCCESS;
}
//
// Skip '&'
|