mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
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…
x
Reference in New Issue
Block a user