remove always-true-condition from if() to avoid compiler warning

This commit is contained in:
Paul Davis 2022-06-21 17:34:09 -06:00
parent b51c4b7ef9
commit ac18b84351

View File

@ -1428,7 +1428,8 @@ Sequence<Time>::dump (ostream& str, typename Sequence<Time>::const_iterator x, u
str << " from " << i->time();
}
str << endl;
for (; i != end() && (limit >= 0); ++i) {
for (; i != end(); ++i) {
str << *i << endl;
if (limit) {
if (--limit == 0) {