Skip to content

Commit

Permalink
fix variable uninitialized error
Browse files Browse the repository at this point in the history
  • Loading branch information
t0rr3sp3dr0 authored Dec 29, 2024
1 parent fc140c5 commit ac8a66a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OvmfPkg/Library/BaseMemEncryptTdxLib/MemoryEncryption.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,8 @@ SetOrClearSharedBit (
return EFI_DEVICE_ERROR;
}

Status = EFI_SUCCESS;

//
// If changing shared to private, must accept-page again
//
Expand Down

0 comments on commit ac8a66a

Please sign in to comment.