mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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…
x
Reference in New Issue
Block a user