krnl386.exe: Removed unused owner_exists variable (Coverity).
This commit is contained in:
parent
7afd9603b5
commit
b53b7f1ec3
|
@ -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_
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue