Marcus Meissner : krnl386.exe: Removed unused owner_exists variable ( Coverity).

Alexandre Julliard julliard at winehq.org
Mon Jan 4 10:54:17 CST 2010


Module: wine
Branch: master
Commit: b53b7f1ec3f5286c3e855baccb25e3d48030a2e6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b53b7f1ec3f5286c3e855baccb25e3d48030a2e6

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sun Jan  3 13:33:56 2010 +0100

krnl386.exe: Removed unused owner_exists variable (Coverity).

---

 dlls/krnl386.exe16/ne_module.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/krnl386.exe16/ne_module.c b/dlls/krnl386.exe16/ne_module.c
index 08ed94c..15d43bf 100644
--- a/dlls/krnl386.exe16/ne_module.c
+++ b/dlls/krnl386.exe16/ne_module.c
@@ -967,7 +967,6 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
     const char *file_name = NULL;
     char dllname[32], *p;
     const char *basename, *main_module;
-    int owner_exists = FALSE;
 
     /* strip path information */
 
@@ -1042,7 +1041,6 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
         TRACE("Trying native dll '%s'\n", libname);
         hinst = NE_LoadModule(libname, lib_only);
         if (hinst > 32) TRACE_(loaddll)("Loaded module %s : native\n", debugstr_a(libname));
-        if (hinst == ERROR_FILE_NOT_FOUND && owner_exists) hinst = 21;  /* win32 module */
     }
 
     if (hinst > 32 && !implicit)




More information about the wine-cvs mailing list