No dragons here.

This commit is contained in:
Bartosz Taudul 2017-09-25 01:31:54 +02:00
parent 192493a2c3
commit 3aeea69eba

View File

@ -408,8 +408,6 @@ void View::InsertZone( Event* zone, Event* parent, Vector<Event*>& 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<Event*>& View::GetParentVector( const Event& ev )
{
// here be dragons
if( ev.parent )
{
return ev.parent->child;