clang-analyzer-deadcode.DeadStores
In 8b9e4e39 "initial import" the assignment to bCheck was in a for loop that used bCheck in its condition, sal_Int32 nPos = m_nStartPos+1; for(; aIter != m_pMatrix->end() && bCheck;) { if(!aIter->isValid()) ... m_pCacheSet->fillValueRow(*aIter++,nPos++); bCheck = m_pCacheSet->next(); } that loop was then replaced with sal_Int32 nPos = m_nStartPos; bCheck = fill(aIter,m_pMatrix->end(),nPos,bCheck); (without further use of bCheck) in 2facbebb "MWS_SRX644: migrate branch mws_srx644 -> HEAD" (and the braces around { ORowSetMatrix::iterator aIter(aEnd); sal_Int32 nPos = m_nStartPos + 1; bCheck = fill(aIter, m_pMatrix->end(), nPos, bCheck); } introduced in 1234d599 "ORowSetCache: overhaul internals," presumably to limit the scope of that aIter introduced there). Change-Id: I1cf4a22fbd1b76d524251a82c3ab4e6ca7a9eca1
Showing
Please
register
or
sign in
to comment