summaryrefslogtreecommitdiff
path: root/xpcom/io/nsWildCard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/io/nsWildCard.cpp')
-rw-r--r--xpcom/io/nsWildCard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/io/nsWildCard.cpp b/xpcom/io/nsWildCard.cpp
index 1250a41618..18c58810fd 100644
--- a/xpcom/io/nsWildCard.cpp
+++ b/xpcom/io/nsWildCard.cpp
@@ -80,7 +80,7 @@ _valid_subexp(const T* aExpr, T aStop1, T aStop2)
return INVALID_SXP;
}
++tld;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case '*':
case '?':
case '$':
@@ -396,7 +396,7 @@ _shexp_match(const T* aStr, const T* aExpr, bool aCaseInsensitive,
return ABORTED;
case '\\':
++y;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
default:
if (aCaseInsensitive) {
if (::upper(aStr[x]) != ::upper(aExpr[y])) {