mirror of https://github.com/acidanthera/audk.git
Remove ASSERT here for the zero attributes means deleting preexisting variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11199 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7389fdd0b8
commit
a81b1409f9
|
@ -1379,7 +1379,6 @@ UpdateVariable (
|
|||
// CacheVariable points to the variable in the memory copy of Flash area
|
||||
// Now let Variable points to the same variable in Flash area.
|
||||
//
|
||||
ASSERT ((Attributes & EFI_VARIABLE_NON_VOLATILE) != 0);
|
||||
VariableStoreHeader = (VARIABLE_STORE_HEADER *) ((UINTN) mVariableModuleGlobal->VariableGlobal.NonVolatileVariableBase);
|
||||
Variable = &NvVariable;
|
||||
Variable->StartPtr = GetStartPointer (VariableStoreHeader);
|
||||
|
|
Loading…
Reference in New Issue