Bug 634833 - Unused variables in PU_asyncGetBookmarkIds.
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Fri, 18 Feb 2011 14:53:50 +0100
changeset 62829 93e44413d0e1e809bce5e03a36d47fb9c60f638f
parent 62828 b1ef0685b2e0a6f090612d32c6ae73cdc6e4e36d
child 62830 4d19c1a15f6935b7baa1a2f5f37953979ed91655
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
bugs634833
milestone2.0b12pre
Bug 634833 - Unused variables in PU_asyncGetBookmarkIds. r=mak a=dietrich
toolkit/components/places/src/PlacesUtils.jsm
--- a/toolkit/components/places/src/PlacesUtils.jsm
+++ b/toolkit/components/places/src/PlacesUtils.jsm
@@ -2084,17 +2084,16 @@ var PlacesUtils = {
     this._asyncGetBookmarksStmt.params.name = this.LMANNO_FEEDURI;
 
     // Storage does not guarantee that invoking cancel() on a statement
     // will cause a REASON_CANCELED.  Thus we wrap the statement.
     let stmt = new AsyncStatementCancelWrapper(this._asyncGetBookmarksStmt);
     return stmt.executeAsync({
       _itemIds: [],
       handleResult: function(aResultSet) {
-        let row, haveMatches = false;
         for (let row; (row = aResultSet.getNextRow());) {
           this._itemIds.push(row.getResultByIndex(0));
         }
       },
       handleCompletion: function(aReason)
       {
         if (aReason == Ci.mozIStorageStatementCallback.REASON_FINISHED) {
           aCallback.apply(aScope, [this._itemIds, aURI]);