diff options
author | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
commit | db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch) | |
tree | 8036ebc434967a0cde3de705a16faea54d117bfd /mailnews/local/src | |
parent | c789882a294d29b3e5450a972ad67c4839c75e23 (diff) | |
parent | 9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff) | |
download | uxp-db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032.tar.gz |
Merge pull request 'Replace MOZ_FALLTHROUGH with [[fallthrough]]' (#2379) from 2343-fallthrough-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2379
Diffstat (limited to 'mailnews/local/src')
-rw-r--r-- | mailnews/local/src/nsParseMailbox.cpp | 2 | ||||
-rw-r--r-- | mailnews/local/src/nsPop3Protocol.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mailnews/local/src/nsParseMailbox.cpp b/mailnews/local/src/nsParseMailbox.cpp index da51c03227..3c5dfa02aa 100644 --- a/mailnews/local/src/nsParseMailbox.cpp +++ b/mailnews/local/src/nsParseMailbox.cpp @@ -2026,7 +2026,7 @@ NS_IMETHODIMP nsParseNewMailState::ApplyFilterHit(nsIMsgFilter *filter, nsIMsgWi } // FALLTHROUGH - MOZ_FALLTHROUGH; + [[fallthrough]]; case nsMsgFilterAction::MoveToFolder: // if moving to a different file, do it. if (actionTargetFolderUri.get() && !m_inboxUri.Equals(actionTargetFolderUri, diff --git a/mailnews/local/src/nsPop3Protocol.cpp b/mailnews/local/src/nsPop3Protocol.cpp index de129a494e..c89867a9d6 100644 --- a/mailnews/local/src/nsPop3Protocol.cpp +++ b/mailnews/local/src/nsPop3Protocol.cpp @@ -1639,7 +1639,7 @@ void nsPop3Protocol::InitPrefAuthMethods(int32_t authMethodPrefValue) MOZ_LOG(POP3LOGMODULE, LogLevel::Error, (POP3LOG("POP: bad pref authMethod = %d\n"), authMethodPrefValue)); // fall to any - MOZ_FALLTHROUGH; + [[fallthrough]]; case nsMsgAuthMethod::anything: m_prefAuthMethods = POP3_HAS_AUTH_USER | POP3_HAS_AUTH_LOGIN | POP3_HAS_AUTH_PLAIN | @@ -1802,7 +1802,7 @@ int32_t nsPop3Protocol::ProcessAuth() break; case POP3_HAS_AUTH_CRAM_MD5: MOZ_LOG(POP3LOGMODULE, LogLevel::Debug, (POP3LOG("POP CRAM"))); - MOZ_FALLTHROUGH; + [[fallthrough]]; case POP3_HAS_AUTH_PLAIN: case POP3_HAS_AUTH_USER: MOZ_LOG(POP3LOGMODULE, LogLevel::Debug, (POP3LOG("POP username"))); |