[patch] BaseTool/VfrCompile: Remove reset button opcode in CheckQuestionOpCode


Dandan Bi
 

"EFI_IFR_RESET_BUTTON_OP" is a statement, not a question,
so remove it from function CheckQuestionOpCode.

Cc: Liming Gao <liming.gao@...>
Cc: Eric Dong <eric.dong@...>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@...>
---
BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp | 1 -
1 file changed, 1 deletion(-)

diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp
index db1e4bd..0b7b8b1 100644
--- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp
+++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp
@@ -1199,11 +1199,10 @@ CIfrRecordInfoDB::CheckQuestionOpCode (
case EFI_IFR_STRING_OP:
case EFI_IFR_DATE_OP:
case EFI_IFR_TIME_OP:
case EFI_IFR_ORDERED_LIST_OP:
case EFI_IFR_REF_OP:
- case EFI_IFR_RESET_BUTTON_OP:
return TRUE;
default:
return FALSE;
}
}
--
1.9.5.msysgit.1

Join devel@edk2.groups.io to automatically receive all group messages.