From 24bbe5901a5a274f211fe8720d56e30c6afab911 Mon Sep 17 00:00:00 2001 From: "db48x@yahoo.com" Date: Tue, 21 Aug 2007 22:00:15 -0700 Subject: [PATCH] bug 291375: toolkit: javascript strict warning in tabbrowser.xml - redeclaration of var reallyClose patch by Jason Barnabe (np) , r=bsmedberg, a=bsmedberg --- browser/base/content/tabbrowser.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index a04950a0375..b57a1a29ab8 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -1057,7 +1057,6 @@ const pref = "browser.tabs.warnOnClose"; var shouldPrompt = this.mPrefs.getBoolPref(pref); - var reallyClose = true; if (shouldPrompt) { var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]