diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-27 16:41:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-27 16:41:41 +0000 |
commit | 3820f0e7e17eeae559b2b3f22561316dd0e1835b (patch) | |
tree | cc67061c745c473bf0e4cc8c5e03661f098fab2d /connectivity/source/drivers/mozab/MResultSet.cxx | |
parent | 259c23ede7cf7faf1b5c90d35b5ed8b50b6b84ee (diff) |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'connectivity/source/drivers/mozab/MResultSet.cxx')
-rw-r--r-- | connectivity/source/drivers/mozab/MResultSet.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |