Bug 1546364 - Reformat to Google coding style in mailnews/base/src (part 6). rs=reformat CLOSED TREE
authorJorg K <jorgk@jorgk.com>
Wed, 29 May 2019 10:08:57 +0200
changeset 35702 ac121e4bba12a4b47de324c7d0653124ff8d3cb8
parent 35701 0326ae4cf85da366cc057042780275c03f4aa1f7
child 35703 09d4067eb5ffd8ddf84d5f14724226a345cdae6b
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersreformat
bugs1546364
Bug 1546364 - Reformat to Google coding style in mailnews/base/src (part 6). rs=reformat CLOSED TREE
mailnews/base/src/nsSpamSettings.cpp
--- a/mailnews/base/src/nsSpamSettings.cpp
+++ b/mailnews/base/src/nsSpamSettings.cpp
@@ -354,18 +354,17 @@ NS_IMETHODIMP nsSpamSettings::Initialize
     // Loop through all accounts, adding emails from this account, as well as
     // from any accounts that defer to this account.
     mEmails.Clear();
     nsCOMPtr<nsIArray> accounts;
     rv = accountManager->GetAccounts(getter_AddRefs(accounts));
     NS_ENSURE_SUCCESS(rv, rv);
     uint32_t accountCount = 0;
     // No sense scanning accounts if we've nothing to match.
-    if (account && accounts)
-      accounts->GetLength(&accountCount);
+    if (account && accounts) accounts->GetLength(&accountCount);
 
     for (uint32_t i = 0; i < accountCount; i++) {
       nsCOMPtr<nsIMsgAccount> loopAccount(do_QueryElementAt(accounts, i));
       if (!loopAccount) continue;
       nsAutoCString loopAccountKey;
       loopAccount->GetKey(loopAccountKey);
       nsCOMPtr<nsIMsgIncomingServer> loopServer;
       loopAccount->GetIncomingServer(getter_AddRefs(loopServer));