Revert. Removing assertions that you don't understand is not an acceptable

fix.  Fix bugs, don't ignore them.
This commit is contained in:
Glenn Maynard
2005-02-12 06:57:52 +00:00
parent 23d907e3d4
commit d1ed849cb5
+4 -3
View File
@@ -246,9 +246,10 @@ namespace
tail.type = TapNote::hold_tail;
/* If iDuration is 0, we'd end up overwriting the head with the tail
* (and invalidating our iterator). Empty hold notes aren't valid. */
if( tn.iDuration != 0 )
inout.SetTapNote( t, iRow + tn.iDuration, tail );
* (and invalidating our iterator). Empty hold notes aren't valid. */
ASSERT( tn.iDuration != 0 );
inout.SetTapNote( t, iRow + tn.iDuration, tail );
}
}
}