Skip to content

Commit

Permalink
src: remove unused variable in node_url.cc
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
cjihrig authored and MylesBorins committed Oct 3, 2017
1 parent 9fcf5d7 commit 69f8738
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/node_url.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 == '\\');
Expand Down

0 comments on commit 69f8738

Please sign in to comment.