url: remove redundant assignment in url.parse

PR-URL: https://github.com/iojs/io.js/pull/1095
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Nicu Micleușanu <micnic90@gmail.com>
This commit is contained in:
Alex Kocharin 2015-03-08 04:11:37 +03:00 committed by Jeremiah Senkpiel
parent fe36076c78
commit 4bd3620382

View File

@ -276,7 +276,6 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
var p = this.port ? ':' + this.port : '';
var h = this.hostname || '';
this.host = h + p;
this.href += this.host;
// strip [ and ] from the hostname
// the host field still retains them, though