forked from qt-creator/qt-creator
Clang: Remove unused variable
Change-Id: I972190b2777dccb142fcd9b382dc6367786dbaf1 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -112,7 +112,6 @@ void ClangCompilerOptionsBuilder::addWrappedQtHeadersIncludePath()
|
|||||||
{
|
{
|
||||||
static const QString resourcePath = creatorResourcePath();
|
static const QString resourcePath = creatorResourcePath();
|
||||||
static QString wrappedQtHeadersPath = resourcePath + "/cplusplus/wrappedQtHeaders";
|
static QString wrappedQtHeadersPath = resourcePath + "/cplusplus/wrappedQtHeaders";
|
||||||
QDir dir(wrappedQtHeadersPath);
|
|
||||||
QTC_ASSERT(QDir(wrappedQtHeadersPath).exists(), return;);
|
QTC_ASSERT(QDir(wrappedQtHeadersPath).exists(), return;);
|
||||||
|
|
||||||
if (m_projectPart.qtVersion != CppTools::ProjectPart::NoQt) {
|
if (m_projectPart.qtVersion != CppTools::ProjectPart::NoQt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user