diff --git a/patches/node/.patches b/patches/node/.patches index de5f8e0afdee..6a85c12fb5f8 100644 --- a/patches/node/.patches +++ b/patches/node/.patches @@ -18,7 +18,6 @@ pass_all_globals_through_require.patch call_process_log_from_fallback_stream_on_windows.patch fixme_use_redefined_version_of_internalmodulestat.patch fixme_remove_async_id_assertion_check.patch -src_use_check_false_in_switch_default_case.patch fixme_comment_trace_event_macro.patch fix_export_node_abort_and_assert.patch fix_key_gen_apis_are_not_available_in_boringssl.patch diff --git a/patches/node/src_use_check_false_in_switch_default_case.patch b/patches/node/src_use_check_false_in_switch_default_case.patch deleted file mode 100644 index 423065a092dd..000000000000 --- a/patches/node/src_use_check_false_in_switch_default_case.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Nitish Sakhawalkar -Date: Thu, 7 Mar 2019 17:02:13 -0800 -Subject: src: use CHECK(false) in switch default case - -Porting https://github.com/nodejs/node/pull/26502 - -diff --git a/src/node_crypto.cc b/src/node_crypto.cc -index dd78a59742fc05e938ba2397d3701b2ac8ccfc23..bca482cc9724fef680196a192a6bbd7b4d2e4fde 100644 ---- a/src/node_crypto.cc -+++ b/src/node_crypto.cc -@@ -3476,7 +3476,7 @@ static ManagedEVPPKey GetPublicOrPrivateKeyFromJs( - is_public = false; - break; - default: -- UNREACHABLE("Invalid key encoding type"); -+ CHECK(false); - } - - if (is_public) {