aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2024-02-29 10:22:21 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-29 13:18:28 +0000
commit25c5ed9f0047fe6427d7f091f970e9186c14583b (patch)
tree315cd6c40139c239d13bdafb0e08b5e066bb06c4
parent49f9c97abed5101060c1183a78fc5872e10446ac (diff)
Silence -Wimplicit-fallthrough for clang
Unlike gcc, clang warns about implicit fallthrough even if the following label only contains a `break` statement Change-Id: Id970770d6b336fbc1ce2574a8c3672d58d472055 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 408dd46bf4f044e851b6a94c021e251949bc6fbe) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/runtimerender/rendererimpl/qssglightmapper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtimerender/rendererimpl/qssglightmapper.cpp b/src/runtimerender/rendererimpl/qssglightmapper.cpp
index 43e0c361..5f51305c 100644
--- a/src/runtimerender/rendererimpl/qssglightmapper.cpp
+++ b/src/runtimerender/rendererimpl/qssglightmapper.cpp
@@ -1854,6 +1854,7 @@ QString QSSGLightmapper::lightmapAssetPathForSave(LightmapAsset asset, const QSt
switch (asset) {
case LightmapAsset::LightmapImageList:
result += QStringLiteral("qlm_list.txt");
+ break;
default:
break;
}