summaryrefslogtreecommitdiff
path: root/mailnews/mime/src/mimemsig.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
committerMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
commitdb4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch)
tree8036ebc434967a0cde3de705a16faea54d117bfd /mailnews/mime/src/mimemsig.cpp
parentc789882a294d29b3e5450a972ad67c4839c75e23 (diff)
parent9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff)
downloaduxp-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/mime/src/mimemsig.cpp')
-rw-r--r--mailnews/mime/src/mimemsig.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/mailnews/mime/src/mimemsig.cpp b/mailnews/mime/src/mimemsig.cpp
index 5b4f8e556a..1ad78f3ed9 100644
--- a/mailnews/mime/src/mimemsig.cpp
+++ b/mailnews/mime/src/mimemsig.cpp
@@ -256,7 +256,7 @@ MimeMultipartSigned_parse_line (const char *line, int32_t length, MimeObject *ob
mult->hdrs = 0;
/* fall through. */
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case MimeMultipartSignedBodyFirstHeader:
case MimeMultipartSignedBodyHeaders:
case MimeMultipartSignedBodyLine:
@@ -406,7 +406,7 @@ MimeMultipartSigned_parse_line (const char *line, int32_t length, MimeObject *ob
}
/* fall through. */
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case MimeMultipartSignedSignatureLine:
if (hash_line_p)
{
@@ -497,7 +497,7 @@ MimeMultipartSigned_parse_child_line (MimeObject *obj,
case MimeMultipartSignedBodyHeaders:
// How'd we get here? Oh well, fall through.
NS_ERROR("wrong state in parse child line");
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case MimeMultipartSignedBodyFirstLine:
PR_ASSERT(first_line_p);
if (!sig->part_buffer)
@@ -507,7 +507,7 @@ MimeMultipartSigned_parse_child_line (MimeObject *obj,
return MIME_OUT_OF_MEMORY;
}
/* fall through */
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case MimeMultipartSignedBodyLine:
{
/* This is the first part; we are buffering it, and will emit it all
@@ -551,7 +551,7 @@ MimeMultipartSigned_parse_child_line (MimeObject *obj,
case MimeMultipartSignedSignatureHeaders:
// How'd we get here? Oh well, fall through.
NS_ERROR("should have already parse sig hdrs");
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case MimeMultipartSignedSignatureFirstLine:
case MimeMultipartSignedSignatureLine:
/* Nothing to do here -- hashing of the signature part is handled up