diff --git a/src/node_url.cc b/src/node_url.cc index 04254667d6..e23c1e6cbf 100644 --- a/src/node_url.cc +++ b/src/node_url.cc @@ -1206,8 +1206,6 @@ void URL::Parse(const char* input, while (p <= end) { const char ch = p < end ? p[0] : kEOL; - const size_t remaining = end == p ? 0 : (end - p - 1); - bool special = (url->flags & URL_FLAGS_SPECIAL); bool cannot_be_base; const bool special_back_slash = (special && ch == '\\');