Clean up a number of unused variables.

Tag #21.
This commit is contained in:
wolfbeast 2018-09-29 23:20:36 +02:00 committed by Roy Tam
commit 57251fc4e7
9 changed files with 0 additions and 77 deletions

View file

@ -3311,13 +3311,6 @@ nsCookieService::SetCookieInternal(nsIURI *aHostURI,
// so we can handle them separately.
bool newCookie = ParseAttributes(aCookieHeader, cookieAttributes);
// Collect telemetry on how often secure cookies are set from non-secure
// origins, and vice-versa.
//
// 0 = nonsecure and "http:"
// 1 = nonsecure and "https:"
// 2 = secure and "http:"
// 3 = secure and "https:"
bool isHTTPS;
nsresult rv = aHostURI->SchemeIs("https", &isHTTPS);