https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fc449e1c1f9bca82588da69caa230db27bdbdb2c
commit fc449e1c1f9bca82588da69caa230db27bdbdb2c Author: Corinna Vinschen <cori...@vinschen.de> Date: Tue Jan 12 15:45:17 2016 +0100 Initialize handle in dll_load to avoid compiler warning * autoload.cc (dll_load): Initialize h to NULL. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> Diff: --- winsup/cygwin/autoload.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 08b2188..8a337be 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -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. */