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:
jji4 2008-11-13 01:47:14 +00:00
parent 33479ddfd7
commit dfc005c30f
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ CompareWithValidVariable (
) { ) {
ASSERT (NameSizeOfVariable (Variable) != 0); ASSERT (NameSizeOfVariable (Variable) != 0);
Point = (VOID *) GetVariableNamePtr (Variable); Point = (VOID *) GetVariableNamePtr (Variable);
if (!CompareMem (VariableName, Point, NameSizeOfVariable (Variable))) { if (CompareMem (VariableName, Point, NameSizeOfVariable (Variable)) == 0) {
PtrTrack->CurrPtr = Variable; PtrTrack->CurrPtr = Variable;
return EFI_SUCCESS; return EFI_SUCCESS;
} }