зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1167410 - Removing an unused initialization. r=hurley
This commit is contained in:
Родитель
899de26326
Коммит
533256ed4d
|
@ -254,7 +254,8 @@ nsEffectiveTLDService::GetBaseDomainInternal(nsCString &aHostname,
|
|||
const char *currDomain = aHostname.get();
|
||||
const char *nextDot = strchr(currDomain, '.');
|
||||
const char *end = currDomain + aHostname.Length();
|
||||
const char *eTLD = currDomain;
|
||||
// Default value of *eTLD is currDomain as set in the while loop below
|
||||
const char *eTLD = nullptr;
|
||||
while (1) {
|
||||
// sanity check the string we're about to look up: it should not begin with
|
||||
// a '.'; this would mean the hostname began with a '.' or had an
|
||||
|
|
Загрузка…
Ссылка в новой задаче