From cd9a016116e07e6ac08dcdd3b08b3d070469cedc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 11 Jan 2016 10:15:07 +0100 Subject: [PATCH] -Werror=unused-but-set-variable Change-Id: I8d2870dc003185598977876e4ff54af74645bc90 --- dbaccess/source/core/api/RowSetCache.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index f1b81a11b577..ca288c4cd3cd 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -873,8 +873,6 @@ void ORowSetCache::moveWindow() return; } - bool bRet = true; - sal_Int32 nDiff = (m_nFetchSize - 1) / 2; sal_Int32 nNewStartPos = (m_nPosition - nDiff) - 1; //m_nPosition is 1-based, but m_nStartPos is 0-based sal_Int32 nNewEndPos = nNewStartPos + m_nFetchSize; @@ -963,7 +961,7 @@ void ORowSetCache::moveWindow() } else {// no rows can be reused so fill again - bRet = reFillMatrix(nNewStartPos,nNewEndPos); + reFillMatrix(nNewStartPos,nNewEndPos); } } @@ -1076,7 +1074,7 @@ void ORowSetCache::moveWindow() } } else // no rows can be reused so fill again - bRet = reFillMatrix(nNewStartPos,nNewEndPos); + reFillMatrix(nNewStartPos,nNewEndPos); } if(!m_bRowCountFinal)