From 3aeea69eba61f7ca97bf83d2e75430cb926e78e8 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 25 Sep 2017 01:31:54 +0200 Subject: [PATCH] No dragons here. --- server/TracyView.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 78cd8262..43bbe562 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -408,8 +408,6 @@ void View::InsertZone( Event* zone, Event* parent, Vector& vec ) if( zone->end == -1 ) { - // here be dragons - // this code is not tested, as it's a fallback for edge cases, which haven't happened for( auto zit = it; zit != vec.end(); ++zit ) { (*zit)->parent = zone; @@ -505,7 +503,6 @@ int64_t View::GetZoneEnd( const Event& ev ) const Vector& View::GetParentVector( const Event& ev ) { - // here be dragons if( ev.parent ) { return ev.parent->child;