We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d286910 commit 6627cbcCopy full SHA for 6627cbc
runtime/core/exec_aten/util/scalar_type_util.h
@@ -897,14 +897,14 @@ struct promote_types {
897
#define ET_INTERNAL_SWITCH_CASE(enum_type, CTYPE_ALIAS, ...) \
898
case enum_type: { \
899
ET_INTERNAL_CHECK_SELECTIVE_BUILD(enum_type); \
900
- using CTYPE_ALIAS = \
+ using CTYPE_ALIAS [[maybe_unused]] = \
901
::executorch::runtime::ScalarTypeToCppType<enum_type>::type; \
902
return __VA_ARGS__(); \
903
}
904
#else
905
906
907
908
909
910
0 commit comments