diff --git a/src/TimingData.cpp b/src/TimingData.cpp index 85d47e6ef0..fca50a6cbf 100644 --- a/src/TimingData.cpp +++ b/src/TimingData.cpp @@ -157,8 +157,8 @@ int TimingData::GetSegmentIndexAtRow(TimingSegmentType tst, int iRow ) const } } - return INVALID_INDEX; // this should not be reached. :( - + // iRow is before the first segment of type tst + return INVALID_INDEX; } struct ts_less : binary_function