Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

custom-buildsystem: define array length explicitly to catch non-match size

parent 266d644c
......@@ -32,7 +32,7 @@ QString generateToolGroupName( CustomBuildSystemTool::ActionType type )
static const int toolTypeCount = CustomBuildSystemTool::Undefined + 1;
// Static Qt-based objects are discouraged (MSVC-incompatible), so use raw strings
static const char* const toolTypes[] = {
static const char* const toolTypes[toolTypeCount] = {
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