some cleanup

This commit is contained in:
itsmattkc
2019-04-09 13:15:15 +10:00
parent b1bbcca88b
commit 433ae494ad
14 changed files with 45 additions and 80 deletions
-9
View File
@@ -418,15 +418,6 @@ Track *Clip::track()
void Clip::set_track(Track *t)
{
// Ensure this clip has already been added to this track
bool found = false;
for (int i=0;i<t->ClipCount();i++) {
if (t->GetClip(i).get() == this) {
found = true;
break;
}
}
track_ = t;
}