summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppu/source/uno/lbenv.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index bab6ffddae6c..23373182b84e 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -1052,7 +1052,6 @@ static bool loadEnv(OUString const & cLibStem,
uno_Environment * pEnv)
{
#ifdef DISABLE_DYNLOADING
- oslModule hMod;
uno_initEnvironmentFunc fpInit;
if ( cLibStem == CPPU_CURRENT_LANGUAGE_BINDING_NAME "_uno" )
@@ -1068,9 +1067,6 @@ static bool loadEnv(OUString const & cLibStem,
#endif
return false;
}
- // In the DISABLE_DYNLOADING case the functions that hMod is
- // passed to below don't do anything with it anyway.
- hMod = 0;
#else
// late init with some code from matching uno language binding
// will be unloaded by environment