forked from qt-creator/qt-creator
CMake: Do not warn about UNINITIALIZED variables
This so called type is not documented to exist but apparently widely used. Change-Id: I0a7693e19874887a6e7260964d119d204e5be1ec Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
7150c0778b
commit
708cb1301f
@@ -147,7 +147,7 @@ CMakeConfigItem::Type CMakeConfigItem::typeStringToType(const QByteArray &type)
|
|||||||
if (type == "STATIC")
|
if (type == "STATIC")
|
||||||
return CMakeConfigItem::STATIC;
|
return CMakeConfigItem::STATIC;
|
||||||
|
|
||||||
QTC_CHECK(type == "INTERNAL");
|
QTC_CHECK(type == "INTERNAL" || type == "UNINITIALIZED");
|
||||||
return CMakeConfigItem::INTERNAL;
|
return CMakeConfigItem::INTERNAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user