Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-03-09 16:42:14 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-03-09 16:42:14 +0400
commite928291c63abc6c16c7a80d012ac042600f34a57 (patch)
tree7cbc5de26dfa4bf38056ec0d76419e9be6829681 /winsup/cygwin/hookapi.cc
parentacb3c3e5645d928266929faa103190b2ae68e0e5 (diff)
* hookapi.cc (find_first_notloaded_dll): Fix a compiler warning.
Diffstat (limited to 'winsup/cygwin/hookapi.cc')
-rw-r--r--winsup/cygwin/hookapi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/hookapi.cc b/winsup/cygwin/hookapi.cc
index 6c4d38fa3..a56538dc6 100644
--- a/winsup/cygwin/hookapi.cc
+++ b/winsup/cygwin/hookapi.cc
@@ -226,7 +226,7 @@ find_first_notloaded_dll (path_conv& pc)
importRVA -= delta;
DWORD offset = 0;
- char *map;
+ char *map = NULL;
if (importRVA + importRVAMaxSize > wincap.allocation_granularity ())
{
offset = rounddown (importRVA, wincap.allocation_granularity ());