diff --git a/patches/node/.patches b/patches/node/.patches index 8e1c825c013a6..e5b6b3108864f 100644 --- a/patches/node/.patches +++ b/patches/node/.patches @@ -24,4 +24,3 @@ fix_account_for_debugger_agent_race_condition.patch add_should_read_node_options_from_env_option_to_disable_node_options.patch repl_fix_crash_when_sharedarraybuffer_disabled.patch fix_readbarrier_undefined_symbol_error_on_woa_arm64.patch -fix_-wunreachable-code-return.patch diff --git a/patches/node/fix_-wunreachable-code-return.patch b/patches/node/fix_-wunreachable-code-return.patch deleted file mode 100644 index 0f97b043170b1..0000000000000 --- a/patches/node/fix_-wunreachable-code-return.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: deepak1556 -Date: Fri, 20 Aug 2021 22:41:11 -0700 -Subject: fix: -Wunreachable-code-return - -Should be upstreamed. - -Upstreamed in https://github.com/nodejs/node/pull/40034. - -diff --git a/src/inspector_agent.cc b/src/inspector_agent.cc -index 612ce2b78b41badccbbce0616dffd86de042738f..c4a3322c6d972fc2052af75b79389c522924d9c5 100644 ---- a/src/inspector_agent.cc -+++ b/src/inspector_agent.cc -@@ -87,7 +87,6 @@ inline void* StartIoThreadMain(void* unused) { - if (agent != nullptr) - agent->RequestIoThreadStart(); - } -- return nullptr; - } - - static int StartDebugSignalHandler() { -diff --git a/src/node_url.cc b/src/node_url.cc -index d7549e3bc05562d67bdef5aebf1fefa550b72eb6..d78cb7a3e1ceb075bd532e823a915b18f5a52afd 100644 ---- a/src/node_url.cc -+++ b/src/node_url.cc -@@ -600,7 +600,6 @@ std::string URLHost::ToString() const { - case HostType::H_DOMAIN: - case HostType::H_OPAQUE: - return value_.domain_or_opaque; -- break; - case HostType::H_IPV4: { - dest.reserve(15); - uint32_t value = value_.ipv4;