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:
gdong1 2010-12-24 07:03:25 +00:00
parent 7389fdd0b8
commit a81b1409f9
1 changed files with 0 additions and 1 deletions

View File

@ -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);