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:
Corinna Vinschen 2016-01-12 15:45:17 +01:00
parent 8cd1ff7a45
commit fc449e1c1f
1 changed files with 1 additions and 1 deletions

View File

@ -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. */