sort of NO-OP: follow if/return coding guidelines
This commit is contained in:
parent
4872d6706d
commit
1dd7d2af1f
@ -1024,7 +1024,9 @@ Region::modify_front_unchecked (timepos_t const & npos, bool reset_fade)
|
||||
source_zero = timepos_t (source_position().time_domain()); // its actually negative, but this will work for us
|
||||
}
|
||||
|
||||
if (new_position < last) { /* can't trim it zero or negative length */
|
||||
if (new_position >= last) { /* can't trim it zero or negative length */
|
||||
return;
|
||||
}
|
||||
|
||||
timecnt_t newlen (_length);
|
||||
timepos_t np = new_position;
|
||||
@ -1051,7 +1053,6 @@ Region::modify_front_unchecked (timepos_t const & npos, bool reset_fade)
|
||||
}
|
||||
|
||||
maybe_invalidate_transients ();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user