aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jsonobject.cpp
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2024-02-29 10:16:59 +0800
committerTim Blechmann <tim@klingt.org>2024-03-03 16:19:37 +0800
commitf373e6407424bc23f0327b82a0b500d120339632 (patch)
tree7ef600474ff969c219a68403ae5e8fa95062d11f /src/qml/jsruntime/qv4jsonobject.cpp
parent87b0a911fc43f197ad5089b363c7a26be041c611 (diff)
Silence -Wimplicit-fallthrough for clang
Unlike gcc, clang warns about implicit fallthrough even if the following label only contains a `break` statement Pick-to: 6.7 Change-Id: If7fb15b5e2e1a8fb80668087e4497efb8d3d30d4 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4jsonobject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp
index 7bf7cda02f..a834cf20d5 100644
--- a/src/qml/jsruntime/qv4jsonobject.cpp
+++ b/src/qml/jsruntime/qv4jsonobject.cpp
@@ -114,6 +114,7 @@ QChar JsonParser::nextToken()
case EndArray:
case EndObject:
eatSpace();
+ break;
case Quote:
break;
default: