From 734f0957fb8bc06ae6e5105d878f1b7007ce8b5d Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 11 Nov 2023 14:27:03 +0100 Subject: Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]] Basically a S&R. Removed the macro and adjusts IDL codegen accordingly. --- mailnews/news/src/nsNNTPProtocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mailnews/news/src/nsNNTPProtocol.cpp') diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index 035dff6e6f..c5a426947d 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -4549,12 +4549,12 @@ nsresult nsNNTPProtocol::ProcessProtocolState(nsIURI * url, nsIInputStream * inp FinishMemCacheEntry(false); // cleanup mem cache entry if (m_responseCode != MK_NNTP_RESPONSE_ARTICLE_NOTFOUND && m_responseCode != MK_NNTP_RESPONSE_ARTICLE_NONEXIST) return CloseConnection(); - MOZ_FALLTHROUGH; + [[fallthrough]]; case NEWS_FREE: // Remember when we last used this connection m_lastActiveTimeStamp = PR_Now(); CleanupAfterRunningUrl(); - MOZ_FALLTHROUGH; + [[fallthrough]]; case NNTP_SUSPENDED: return NS_OK; break; -- cgit v1.2.3