Add comment fixing coverity #23351.

This commit is contained in:
Richard Heck 2016-06-11 23:01:21 -04:00
parent 9d49f09bcf
commit a637efca6e

View File

@ -1981,6 +1981,8 @@ void TabWorkArea::updateTabTexts()
// that it makes the path more unique.
somethingChanged = true;
It sit = segStart;
// this is ok for the reason mentioned in the previous comment.
// coverity[INVALIDATE_ITERATOR]
QString dspString = sit->forecastPathString();
LYXERR(Debug::GUI, "first forecast found for "
<< sit->abs() << " => " << dspString);