diff options
author | Shelley Vohr <shelley.vohr@gmail.com> | 2021-09-08 11:03:38 +0300 |
---|---|---|
committer | Shelley Vohr <shelley.vohr@gmail.com> | 2021-09-11 10:55:48 +0300 |
commit | f8836b208c43c2965061e0493948cf35d946fb87 (patch) | |
tree | 15fa050c7dfa03458b61812bbe8979ab48ff9966 /src/node_url.cc | |
parent | 1b335d41a405f491a84c4d8cb51fabd4615c0306 (diff) |
src: fix -Wunreachable-code-return error
PR-URL: https://github.com/nodejs/node/pull/40034
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_url.cc')
-rw-r--r-- | src/node_url.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_url.cc b/src/node_url.cc index d7549e3bc05..d78cb7a3e1c 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; |