summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-04 18:43:23 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-04 18:43:23 +0300
commit67a565eabf3dcbf7a76dd4a6b9ab139274fa3da7 (patch)
treee9e05efdc7ab7ca21b0ab466dea8d75f534b688d /connectivity
parent73a038df3769f5c6776dcd8f4e36d6d0165b8554 (diff)
WaE: unreachable code
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/ado/AStatement.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/drivers/ado/AStatement.cxx b/connectivity/source/drivers/ado/AStatement.cxx
index 2ea1cb58b718..8548bd248f3c 100644
--- a/connectivity/source/drivers/ado/AStatement.cxx
+++ b/connectivity/source/drivers/ado/AStatement.cxx
@@ -521,6 +521,7 @@ sal_Int32 OStatement_Base::getMaxRows() const throw(SQLException, RuntimeExcepti
sal_Int32 OStatement_Base::getResultSetConcurrency() const throw(SQLException, RuntimeException)
{
return m_eLockType;
+#if 0 // Huh?
sal_Int32 nValue=0;
switch(m_eLockType)
{
@@ -533,6 +534,7 @@ sal_Int32 OStatement_Base::getResultSetConcurrency() const throw(SQLException, R
}
return nValue;
+#endif
}
//------------------------------------------------------------------------------
sal_Int32 OStatement_Base::getResultSetType() const throw(SQLException, RuntimeException)