summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OvmfPkg/Library/PlatformBootManagerLib/QuietBoot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/QuietBoot.c b/OvmfPkg/Library/PlatformBootManagerLib/QuietBoot.c
index dd475adf3e..972050fa9c 100644
--- a/OvmfPkg/Library/PlatformBootManagerLib/QuietBoot.c
+++ b/OvmfPkg/Library/PlatformBootManagerLib/QuietBoot.c
@@ -361,6 +361,8 @@ EnableQuietBoot (
NewHeight = 0;
NewWidth = 0;
Instance = 0;
+ Height = 0;
+ Width = 0;
while (1) {
ImageData = NULL;
ImageSize = 0;