From 1d96ce28231dbee8c8444a499aac0b63eddc63b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Sun, 2 Aug 2009 18:31:24 +0200 Subject: [PATCH] Bug 507883 - addCookieToHash() creates a useless object that will be clobbered right away. r=zeniko --- browser/components/sessionstore/src/nsSessionStore.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/browser/components/sessionstore/src/nsSessionStore.js b/browser/components/sessionstore/src/nsSessionStore.js index 958a8838d004..1a9422b5374d 100644 --- a/browser/components/sessionstore/src/nsSessionStore.js +++ b/browser/components/sessionstore/src/nsSessionStore.js @@ -1594,9 +1594,6 @@ SessionStoreService.prototype = { aHash[aHost] = {}; if (!aHash[aHost][aPath]) aHash[aHost][aPath] = {}; - if (!aHash[aHost][aPath][aName]) - aHash[aHost][aPath][aName] = {}; - aHash[aHost][aPath][aName] = aCookie; }