diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-04 16:29:48 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-05 13:25:32 +0000 |
commit | 8e2852428dd67cea2f09955f175518cd3563498f (patch) | |
tree | a78d739caa2883bad5911c484d30369afd2ab77e /mysqlc | |
parent | 3f50c6e050ea922cb720ec88a9f38c991b1906cd (diff) |
mysqlc: -Werror=unused-function
Change-Id: I8b1f4b7c78a10ce604a63aff47d2df2d1d10dc26
Reviewed-on: https://gerrit.libreoffice.org/19800
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/source/mysqlc_driver.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx index ed43d27b235c..399d6228eecb 100644 --- a/mysqlc/source/mysqlc_driver.cxx +++ b/mysqlc/source/mysqlc_driver.cxx @@ -110,7 +110,9 @@ Sequence< rtl::OUString > SAL_CALL MysqlCDriver::getSupportedServiceNames() return getSupportedServiceNames_Static(); } +#ifndef SYSTEM_MYSQL_CPPCONN extern "C" { static void SAL_CALL thisModule() {} } +#endif void MysqlCDriver::impl_initCppConn_lck_throw() { |