diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-04-04 08:37:04 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-05-16 14:32:49 +0200 |
commit | 432c48724671db2c4e899df81272a4e49d5514b8 (patch) | |
tree | aab02b75f83a0de1de7c33acfd99c442128de28e /tools | |
parent | bbcf1304c4f85fd3501b0035dc47af21b70f7965 (diff) |
QmlTCVisitor: Silence coverity warning
Change-Id: Idf7b7409fb0ed1aac5f54763592421270cd6a0a2
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmltc/qmltcvisitor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qmltc/qmltcvisitor.cpp b/tools/qmltc/qmltcvisitor.cpp index ed85ccf479..6fe5973e2a 100644 --- a/tools/qmltc/qmltcvisitor.cpp +++ b/tools/qmltc/qmltcvisitor.cpp @@ -324,6 +324,9 @@ QQmlJSScope::ConstPtr fetchType(const QQmlJSMetaPropertyBinding &binding) default: return {}; } + // coverity complains about the unreachable return below, + // some compilers; some compilers complain without it + Q_UNREACHABLE(); return {}; } |