Browse Source

src: remove unused variable in node_url.cc

PR-URL: https://github.com/nodejs/node/pull/15592
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
canary-base
cjihrig 7 years ago
parent
commit
eee166f24d
No known key found for this signature in database GPG Key ID: 7434390BDBE9B9C5
  1. 2
      src/node_url.cc

2
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 == '\\');

Loading…
Cancel
Save