From 8e2852428dd67cea2f09955f175518cd3563498f Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 4 Nov 2015 16:29:48 +0100 Subject: mysqlc: -Werror=unused-function Change-Id: I8b1f4b7c78a10ce604a63aff47d2df2d1d10dc26 Reviewed-on: https://gerrit.libreoffice.org/19800 Tested-by: Jenkins Reviewed-by: Michael Stahl --- mysqlc/source/mysqlc_driver.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mysqlc') 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() { -- cgit