mirror of https://github.com/acidanthera/audk.git
Fix minor build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7465 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
47c6e0f758
commit
8ed62a3035
|
@ -921,7 +921,7 @@ FindVariable (
|
||||||
if (Variable[Index]->State == VAR_ADDED ||
|
if (Variable[Index]->State == VAR_ADDED ||
|
||||||
Variable[Index]->State == (VAR_IN_DELETED_TRANSITION & VAR_ADDED)
|
Variable[Index]->State == (VAR_IN_DELETED_TRANSITION & VAR_ADDED)
|
||||||
) {
|
) {
|
||||||
if (!EfiAtRuntime () || (Variable[Index]->Attributes & EFI_VARIABLE_RUNTIME_ACCESS != 0)) {
|
if (!EfiAtRuntime () || ((Variable[Index]->Attributes & EFI_VARIABLE_RUNTIME_ACCESS) != 0)) {
|
||||||
if (VariableName[0] == 0) {
|
if (VariableName[0] == 0) {
|
||||||
if (Variable[Index]->State == (VAR_IN_DELETED_TRANSITION & VAR_ADDED)) {
|
if (Variable[Index]->State == (VAR_IN_DELETED_TRANSITION & VAR_ADDED)) {
|
||||||
InDeletedVariable = Variable[Index];
|
InDeletedVariable = Variable[Index];
|
||||||
|
|
Loading…
Reference in New Issue