Clang: Remove unused variable

Change-Id: I972190b2777dccb142fcd9b382dc6367786dbaf1
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Robert Loehning
2017-10-20 18:30:42 +02:00
parent 93c616b23f
commit 69c4f8c6b5

View File

@@ -112,7 +112,6 @@ void ClangCompilerOptionsBuilder::addWrappedQtHeadersIncludePath()
{
static const QString resourcePath = creatorResourcePath();
static QString wrappedQtHeadersPath = resourcePath + "/cplusplus/wrappedQtHeaders";
QDir dir(wrappedQtHeadersPath);
QTC_ASSERT(QDir(wrappedQtHeadersPath).exists(), return;);
if (m_projectPart.qtVersion != CppTools::ProjectPart::NoQt) {