summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØystein Heskestad <oystein.heskestad@qt.io>2022-09-09 14:55:15 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-09-09 17:06:40 +0000
commit227c686522662723adf5c888f180437848ead544 (patch)
tree60f92669be4d068b732f3a218d7bb920e5625d9f
parent058ff845afcbde6dc78c73b65e0665352a3d6f97 (diff)
downloadqttools-227c686522662723adf5c888f180437848ead544.tar.gz
lupdate: Fix spelling of Q_UNUSED macro and add semicolon
Change-Id: I8d1165bf276e812c025cdd015d0f4bd656ca8b64 Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 65cb9a7c5444669d498aad2e2707b2a47b56f002) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/linguist/lupdate/clangtoolastreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/lupdate/clangtoolastreader.cpp b/src/linguist/lupdate/clangtoolastreader.cpp
index 2510212a7..d233235d7 100644
--- a/src/linguist/lupdate/clangtoolastreader.cpp
+++ b/src/linguist/lupdate/clangtoolastreader.cpp
@@ -437,7 +437,7 @@ void LupdateVisitor::processIsolatedComments(const clang::FileID file)
tmp.emplace_back(commentInFile.second);
clang::ArrayRef<clang::RawComment *> rawComments = tmp;
#else
- Q_UNSED(file)
+ Q_UNUSED(file);
clang::ArrayRef<clang::RawComment *> rawComments = m_context->getRawCommentList().getComments();
#endif