Skip to content

Commit 69f8738

Browse files
cjihrigMylesBorins
authored andcommitted
src: remove unused variable in node_url.cc
PR-URL: #15592 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
1 parent 9fcf5d7 commit 69f8738

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node_url.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,8 +1206,6 @@ void URL::Parse(const char* input,
12061206

12071207
while (p <= end) {
12081208
const char ch = p < end ? p[0] : kEOL;
1209-
const size_t remaining = end == p ? 0 : (end - p - 1);
1210-
12111209
bool special = (url->flags & URL_FLAGS_SPECIAL);
12121210
bool cannot_be_base;
12131211
const bool special_back_slash = (special && ch == '\\');

0 commit comments

Comments
 (0)