mirror of https://github.com/acidanthera/audk.git
Fix incorrect return status usage of HiiGetBrowserData().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9539 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b395a08d05
commit
824e8a5233
|
@ -701,8 +701,7 @@ DriverCallback (
|
|||
//
|
||||
Configuration = AllocateZeroPool (sizeof (DRIVER_SAMPLE_CONFIGURATION));
|
||||
ASSERT (Configuration != NULL);
|
||||
Status = HiiGetBrowserData (&mFormSetGuid, VariableName, sizeof (DRIVER_SAMPLE_CONFIGURATION), (UINT8 *) Configuration);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
if (HiiGetBrowserData (&mFormSetGuid, VariableName, sizeof (DRIVER_SAMPLE_CONFIGURATION), (UINT8 *) Configuration)) {
|
||||
Configuration->DynamicOneof = 2;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue