Commit 6157b2a7 authored by Christian Stenger's avatar Christian Stenger

CppTools: Avoid compiler warning

Change-Id: I19c423dd9f6cbaecbaa925df0090af001b951601
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent e2932411
...@@ -1045,6 +1045,7 @@ void CppToolsPlugin::test_modelmanager_renameIncludes() ...@@ -1045,6 +1045,7 @@ void CppToolsPlugin::test_modelmanager_renameIncludes()
struct ModelManagerGCHelper { struct ModelManagerGCHelper {
~ModelManagerGCHelper() { CppModelManager::instance()->GC(); } ~ModelManagerGCHelper() { CppModelManager::instance()->GC(); }
} GCHelper; } GCHelper;
Q_UNUSED(GCHelper); // do not warn about being unused
QTemporaryDir tmpDir; QTemporaryDir tmpDir;
QVERIFY(tmpDir.isValid()); QVERIFY(tmpDir.isValid());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment