Initialize handle in dll_load to avoid compiler warning
* autoload.cc (dll_load): Initialize h to NULL. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
8cd1ff7a45
commit
fc449e1c1f
|
@ -348,7 +348,7 @@ union retchain
|
|||
static __inline bool
|
||||
dll_load (HANDLE& handle, PWCHAR name)
|
||||
{
|
||||
HANDLE h;
|
||||
HANDLE h = NULL;
|
||||
|
||||
/* On systems supporting LOAD_LIBRARY_SEARCH flags, try to load
|
||||
explicitely from the system dir first. */
|
||||
|
|
Loading…
Reference in New Issue