mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
5a78d29cb8
commit
96179cb36e
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Implementation of interfaces function for EFI_HII_CONFIG_ROUTING_PROTOCOL.
|
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
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -4480,12 +4480,11 @@ HiiBlockToConfig (
|
||||||
}
|
}
|
||||||
if (*StringPtr == 0) {
|
if (*StringPtr == 0) {
|
||||||
*Progress = StringPtr;
|
*Progress = StringPtr;
|
||||||
Status = EFI_SUCCESS;
|
|
||||||
|
|
||||||
AppendToMultiString(Config, ConfigRequest);
|
AppendToMultiString(Config, ConfigRequest);
|
||||||
HiiToLower (*Config);
|
HiiToLower (*Config);
|
||||||
|
|
||||||
goto Exit;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// Skip '&'
|
// Skip '&'
|
||||||
|
|
Loading…
Reference in New Issue