diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c index cdf4b09e15..b34538c070 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c @@ -793,6 +793,7 @@ CreateIfrDataArray ( break; case EFI_IFR_TYPE_ACTION: + case EFI_IFR_TYPE_UNDEFINED: Size = 0; break; @@ -852,6 +853,7 @@ CreateIfrDataArray ( break; case EFI_IFR_TYPE_ACTION: + case EFI_IFR_TYPE_UNDEFINED: break; default: