diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-05-22 21:54:18 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-05-26 09:55:43 +0200 |
commit | 39276660f862b8d534db971d53490450f8ec5d9e (patch) | |
tree | 97aef001de52798d25d1770ddf9417610132ac23 /connectivity | |
parent | c37d81ac2765e14f1dfc6124082ed62909422c31 (diff) |
Fix DISABLE_DYNLOADING unused variable
Change-Id: Ie8305364971f324bd834ae6bec851637ca60b9e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116118
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/odbc/OFunctions.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/OFunctions.cxx b/connectivity/source/drivers/odbc/OFunctions.cxx index ae89531763a1..951eb8b36bff 100644 --- a/connectivity/source/drivers/odbc/OFunctions.cxx +++ b/connectivity/source/drivers/odbc/OFunctions.cxx @@ -89,7 +89,9 @@ bool LoadLibrary_ODBC3(OUString &_rPath) if (bLoaded) return true; -#ifndef DISABLE_DYNLOADING +#ifdef DISABLE_DYNLOADING + (void)_rPath; +#else #ifdef _WIN32 _rPath = "ODBC32.DLL"; #endif @@ -112,7 +114,7 @@ bool LoadLibrary_ODBC3(OUString &_rPath) if ( !pODBCso ) pODBCso = osl_loadModule( _rPath.pData,SAL_LOADMODULE_NOW ); -#endif +#endif // DISABLE_DYNLOADING if( !pODBCso) return false; |