clang-analyzer-deadcode.DeadStores

regression introduced by e1af7f0c43 "clang-tidy
modernize-loop-convert in c*"

Change-Id: I2f1fcb324f9bf7e97a8a514f41ac1208f1f1ca74
This commit is contained in:
Stephan Bergmann
2016-06-27 16:02:02 +02:00
parent 7e781aa15a
commit fd07d67bea

View File

@@ -1248,7 +1248,7 @@ void SAL_CALL OResultSet::executeQuery() throw( css::sdbc::SQLException,
{
OValueRow aSearchRow = new OValueVector( m_aRow->get().size() );
for(sal_Int32 i : m_pKeySet->get())
for(sal_Int32 & i : m_pKeySet->get())
{
fetchRow( i ); // Fills m_aRow
if ( matchRow( m_aRow, aSearchRow ) )