summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-30 23:05:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-31 09:04:14 +0200
commit886a3640e2a5ff3ebd12b4034f6c245946dd8e95 (patch)
tree1dabbc97439e439015632a9635906ba0b3d230c4 /connectivity/source/drivers
parent5466323a8b895df011463c3bc1f243cce8695315 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I55d99ff74de5825e239772160735a8b0d87cb122
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r--connectivity/source/drivers/mysql/YDriver.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysql/YDriver.cxx b/connectivity/source/drivers/mysql/YDriver.cxx
index 2bf56d0a277a..941f47c1ec58 100644
--- a/connectivity/source/drivers/mysql/YDriver.cxx
+++ b/connectivity/source/drivers/mysql/YDriver.cxx
@@ -55,7 +55,6 @@ namespace connectivity
ODriverDelegator::ODriverDelegator(const Reference< XMultiServiceFactory >& _rxFactory)
: ODriverDelegator_BASE(m_aMutex)
,m_xFactory(_rxFactory)
- ,m_eDriverType(D_ODBC)
{
}
@@ -95,6 +94,13 @@ namespace connectivity
namespace
{
+ typedef enum
+ {
+ D_ODBC,
+ D_JDBC,
+ D_NATIVE
+ } T_DRIVERTYPE;
+
sal_Bool isOdbcUrl(const ::rtl::OUString& _sUrl)
{
return _sUrl.copy(0,16) == "sdbc:mysql:odbc:";