Bug 710237 - remove unused variable. r=mak. a=Ms2ger.
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Tue, 13 Dec 2011 16:44:33 -0500
changeset 84163 6bb5ecf566001f8864cb7afebf09deafbd17c9fd
parent 84162 296ce6c97770eabacfdd522ff07f2f7100b5a560
child 84164 57d355d65a64eaefa5e0182adc43a7579722c2be
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak, Ms2ger
bugs710237
milestone11.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 710237 - remove unused variable. r=mak. a=Ms2ger.
toolkit/components/satchel/nsFormHistory.js
--- a/toolkit/components/satchel/nsFormHistory.js
+++ b/toolkit/components/satchel/nsFormHistory.js
@@ -354,18 +354,16 @@ FormHistory.prototype = {
             if (stmt) {
                 stmt.reset();
             }
         }
 
     },
 
     get dbConnection() {
-        let connection;
-
         // Make sure dbConnection can't be called from now to prevent infinite loops.
         delete FormHistory.prototype.dbConnection;
 
         try {
             this.dbFile = Services.dirsvc.get("ProfD", Ci.nsIFile).clone();
             this.dbFile.append("formhistory.sqlite");
             this.log("Opening database at " + this.dbFile.path);