mirror of https://github.com/acidanthera/audk.git
Code Scrub:
/MdeModulePkg/Universal/Variable/Pei/Variable.c re-scrubbed git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6477 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
33479ddfd7
commit
dfc005c30f
|
@ -315,7 +315,7 @@ CompareWithValidVariable (
|
|||
) {
|
||||
ASSERT (NameSizeOfVariable (Variable) != 0);
|
||||
Point = (VOID *) GetVariableNamePtr (Variable);
|
||||
if (!CompareMem (VariableName, Point, NameSizeOfVariable (Variable))) {
|
||||
if (CompareMem (VariableName, Point, NameSizeOfVariable (Variable)) == 0) {
|
||||
PtrTrack->CurrPtr = Variable;
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue