From 3820f0e7e17eeae559b2b3f22561316dd0e1835b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 27 Jan 2011 16:41:41 +0000 Subject: WaE: gcc 4.6.0 various warnings --- connectivity/source/drivers/mozab/MResultSet.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'connectivity/source') diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx index 8cc5bb40bec1..17f2eb4f851e 100644 --- a/connectivity/source/drivers/mozab/MResultSet.cxx +++ b/connectivity/source/drivers/mozab/MResultSet.cxx @@ -1224,7 +1224,6 @@ void SAL_CALL OResultSet::executeQuery() throw( ::com::sun::star::sdbc::SQLExcep else { sal_Bool bDistinct = sal_False; - sal_Bool bWasSorted = sal_False; OSQLParseNode *pDistinct = m_pParseTree->getChild(1); if (pDistinct && pDistinct->getTokenID() == SQL_TOKEN_DISTINCT) { @@ -1233,8 +1232,6 @@ void SAL_CALL OResultSet::executeQuery() throw( ::com::sun::star::sdbc::SQLExcep m_aOrderbyColumnNumber.push_back(m_aColMapping[1]); m_aOrderbyAscending.push_back(SQL_DESC); } - else - bWasSorted = sal_True; bDistinct = sal_True; } -- cgit