per dmose, remove needless temporary
authorAndrew Sutherland <asutherland@asutherland.org>
Mon, 22 Sep 2008 05:40:53 -0700
changeset 943 92bf7e5a505168b8f4a370f1a40de004dc392ce2
parent 942 c3fce1faf038f34e0058fff407402a8b1bd45f44
child 944 d0af9697234b9a497a5b964b368ec41b68d8b9eb
push idunknown
push userunknown
push dateunknown
per dmose, remove needless temporary
modules/gloda.js
--- a/modules/gloda.js
+++ b/modules/gloda.js
@@ -182,19 +182,18 @@ let Gloda = {
   kIndexerMoving: 2,
   kIndexerRemoving: 3,
   
   /**
    * Given an nsIMsgDBHdr, return the gloda message object that corresponds to
    *  it.  If no such message exists, null is returned.
    */
   getMessageForHeader: function gloda_ns_getMessageForHeader(aMsgHdr) {
-    let message = GlodaDatastore.getMessageFromLocation(aMsgHdr.folder.URI,
-                                                        aMsgHdr.messageKey);
-    return message;
+    return GlodaDatastore.getMessageFromLocation(aMsgHdr.folder.URI,
+                                                 aMsgHdr.messageKey);
   },
   
   /**
    * Given one or more full mail addresses (ex: "Bob Smith" <bob@smith.com>),
    *  return a list of the identities that corresponds to each mail address,
    *  creating them as required.
    */
   getIdentitiesForFullMailAddresses: