Bug 1167410 - Removing an unused initialization. r=hurley

This commit is contained in:
Ritu Kothari 2015-06-26 15:33:00 +02:00
Родитель 899de26326
Коммит 533256ed4d
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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