Commit b53b7f1e authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

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

parent 7afd9603
...@@ -967,7 +967,6 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_ ...@@ -967,7 +967,6 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
const char *file_name = NULL; const char *file_name = NULL;
char dllname[32], *p; char dllname[32], *p;
const char *basename, *main_module; const char *basename, *main_module;
int owner_exists = FALSE;
/* strip path information */ /* strip path information */
...@@ -1042,7 +1041,6 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_ ...@@ -1042,7 +1041,6 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
TRACE("Trying native dll '%s'\n", libname); TRACE("Trying native dll '%s'\n", libname);
hinst = NE_LoadModule(libname, lib_only); hinst = NE_LoadModule(libname, lib_only);
if (hinst > 32) TRACE_(loaddll)("Loaded module %s : native\n", debugstr_a(libname)); 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) if (hinst > 32 && !implicit)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment