diff --git a/patches/node/.patches b/patches/node/.patches index e7e7a5e024c0c..c0ffa7f81dd8e 100644 --- a/patches/node/.patches +++ b/patches/node/.patches @@ -34,4 +34,3 @@ fix_expose_lookupandcompile_with_parameters.patch fix_prevent_changing_functiontemplateinfo_after_publish.patch enable_crashpad_linux_node_processes.patch allow_embedder_to_control_codegenerationfromstringscallback.patch -chore_remove_unreached_return.patch diff --git a/patches/node/chore_remove_unreached_return.patch b/patches/node/chore_remove_unreached_return.patch deleted file mode 100644 index 5cd700e5f8ac2..0000000000000 --- a/patches/node/chore_remove_unreached_return.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Shelley Vohr -Date: Mon, 9 Jan 2023 14:34:01 +0100 -Subject: chore: remove unreached return - -https://github.com/nodejs/node/pull/44376 added a return after a call to -ABORT(), triggering an unreachable code error. - -This should be upstreamed. - -diff --git a/src/node_builtins.cc b/src/node_builtins.cc -index 25b02f9904127780c68db9b451a7dfcf02a6fc5e..1be20aea500fd9d606c5a38a86b4aef66b49d133 100644 ---- a/src/node_builtins.cc -+++ b/src/node_builtins.cc -@@ -247,7 +247,6 @@ void BuiltinLoader::AddExternalizedBuiltin(const char* id, - fprintf( - stderr, "Cannot load externalized builtin: \"%s:%s\".\n", id, filename); - ABORT(); -- return; - } - - icu::UnicodeString utf16 = icu::UnicodeString::fromUTF8(