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;