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

Tor Lillqvist tml at iki.fi
Tue Apr 16 10:24:38 PDT 2013


 cppu/source/uno/lbenv.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 8a9398fad0c5267f25ce8bc68eb63e91334faff5
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Apr 16 20:24:07 2013 +0300

    WaE: variable 'hMod' set but not used
    
    Change-Id: Iae64943671a576159be0fa311bc503aa96b2b5df

diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index bab6ffd..2337318 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


More information about the Libreoffice-commits mailing list