mirror of https://github.com/acidanthera/audk.git
Add parenthesis to expression to make order of operations clear
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7475 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9bb407c643
commit
ba5e88f965
|
@ -389,7 +389,7 @@ GetNextVariableName (
|
|||
// Variable is found
|
||||
//
|
||||
if (Variable.CurrPtr->StartId == VARIABLE_DATA && Variable.CurrPtr->State == VAR_ADDED) {
|
||||
if (!(EfiAtRuntime () && (Variable.CurrPtr->Attributes & EFI_VARIABLE_RUNTIME_ACCESS == 0))) {
|
||||
if (!(EfiAtRuntime () && ((Variable.CurrPtr->Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0))) {
|
||||
VarNameSize = Variable.CurrPtr->NameSize;
|
||||
if (VarNameSize <= *VariableNameSize) {
|
||||
CopyMem (
|
||||
|
|
Loading…
Reference in New Issue