diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-14 11:17:33 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-17 09:11:53 +0000 |
commit | e002680feb415ee7d26e3a31d70afeef0d50dea2 (patch) | |
tree | 4a1495e424aab531898a340cdf254e2f84f74214 | |
parent | 4de3f91a61b78de2097c1f7d7d2e59a78f731cb2 (diff) | |
download | qbs-e002680feb415ee7d26e3a31d70afeef0d50dea2.tar.gz |
Fix compiler warning
Change-Id: I16c1373e21db71a47be45bfebaeca91084e1b067
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
-rw-r--r-- | src/lib/corelib/tools/scripttools.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/corelib/tools/scripttools.cpp b/src/lib/corelib/tools/scripttools.cpp index b6d9b61a2..109b74486 100644 --- a/src/lib/corelib/tools/scripttools.cpp +++ b/src/lib/corelib/tools/scripttools.cpp @@ -232,6 +232,7 @@ JSValue makeJsVariant(JSContext *ctx, const QVariant &v) return makeJsVariantMap(ctx, v.toMap()); case QMetaType::QByteArray: QBS_ASSERT(!"QByteArray is not a valid type for JS variant", return JS_UNDEFINED); + [[fallthrough]]; default: return JS_UNDEFINED; } |