lib: removed unused variable

This change removes a variable that is not being used in the file.

PR-URL: https://github.com/nodejs/node/pull/23497
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Long Nguyen 2018-10-12 09:40:51 -07:00 committed by Ruben Bridgewater
parent f8af209f42
commit 656a0acafd
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -458,7 +458,7 @@ Object.defineProperties(URL.prototype, {
if (ctx.path.length > 0) {
try {
return (new URL(ctx.path[0])).origin;
} catch (err) {
} catch {
// fall through... do nothing
}
}