mirror of
https://github.com/acidanthera/audk.git
synced 2025-05-03 06:00:10 +02:00
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
|
// Variable is found
|
||||||
//
|
//
|
||||||
if (Variable.CurrPtr->StartId == VARIABLE_DATA && Variable.CurrPtr->State == VAR_ADDED) {
|
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;
|
VarNameSize = Variable.CurrPtr->NameSize;
|
||||||
if (VarNameSize <= *VariableNameSize) {
|
if (VarNameSize <= *VariableNameSize) {
|
||||||
CopyMem (
|
CopyMem (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user