summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-29 08:58:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-29 15:12:26 +0100
commit41eeaace84b45c803fff3ebd5ab981f0ad09393b (patch)
tree0a0290bcc852507efa8241bd0853ebdd84ec9cbf /connectivity
parenta2f7678171618d958e3c387718cd389bea63eaeb (diff)
loplugin:oncevar
Change-Id: Iba892694acb378887a1d15ab59104c55f591f0bd Reviewed-on: https://gerrit.libreoffice.org/62498 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_connection.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_connection.cxx b/connectivity/source/drivers/mysqlc/mysqlc_connection.cxx
index cb1b06261042..981fe7392aa5 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_connection.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_connection.cxx
@@ -268,9 +268,8 @@ OUString SAL_CALL OConnection::nativeSQL(const OUString& /*_sSql*/)
MutexGuard aGuard(m_aMutex);
// const OUString sSqlStatement = transFormPreparedStatement( _sSql );
- OUString sNativeSQL;
// TODO
- return sNativeSQL;
+ return OUString();
}
void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit)
@@ -291,8 +290,7 @@ sal_Bool SAL_CALL OConnection::getAutoCommit()
MutexGuard aGuard(m_aMutex);
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
- bool autoCommit = false;
- return autoCommit;
+ return false;
}
void SAL_CALL OConnection::commit()