[Libreoffice-commits] core.git: mysqlc/source

Michael Stahl mstahl at redhat.com
Thu Nov 5 05:25:58 PST 2015


 mysqlc/source/mysqlc_driver.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8e2852428dd67cea2f09955f175518cd3563498f
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Nov 4 16:29:48 2015 +0100

    mysqlc: -Werror=unused-function
    
    Change-Id: I8b1f4b7c78a10ce604a63aff47d2df2d1d10dc26
    Reviewed-on: https://gerrit.libreoffice.org/19800
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx
index ed43d27..399d622 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()
 {


More information about the Libreoffice-commits mailing list