Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ void FlameGraphView::selectByTypeId(int typeIndex) ...@@ -87,7 +87,7 @@ void FlameGraphView::selectByTypeId(int typeIndex)
void FlameGraphView::onVisibleFeaturesChanged(quint64 features) void FlameGraphView::onVisibleFeaturesChanged(quint64 features)
{ {
int rangeTypeMask; int rangeTypeMask = 0;
for (int rangeType = 0; rangeType < QmlDebug::MaximumRangeType; ++rangeType) { for (int rangeType = 0; rangeType < QmlDebug::MaximumRangeType; ++rangeType) {
if (features & (1 << QmlDebug::featureFromRangeType(QmlDebug::RangeType(rangeType)))) if (features & (1 << QmlDebug::featureFromRangeType(QmlDebug::RangeType(rangeType))))
rangeTypeMask |= (1 << rangeType); rangeTypeMask |= (1 << rangeType);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment