Commit 49eceedb authored by Ulf Hermann's avatar Ulf Hermann
Browse files

Initialize rangeTypeMask



Change-Id: I3b778b774e0b19c9d697f460200853798eea16c9
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 74b57414
......@@ -87,7 +87,7 @@ void FlameGraphView::selectByTypeId(int typeIndex)
void FlameGraphView::onVisibleFeaturesChanged(quint64 features)
{
int rangeTypeMask;
int rangeTypeMask = 0;
for (int rangeType = 0; rangeType < QmlDebug::MaximumRangeType; ++rangeType) {
if (features & (1 << QmlDebug::featureFromRangeType(QmlDebug::RangeType(rangeType))))
rangeTypeMask |= (1 << rangeType);
......
Supports Markdown
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