]> sourceware.org Git - newlib-cygwin.git/commitdiff
* mmap.cc (mmap): Initialize fh to avoid compiler warnings.
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 16 Jan 2001 17:02:46 +0000 (17:02 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 16 Jan 2001 17:02:46 +0000 (17:02 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/mmap.cc

index c7c6d4a47317e5bfd380e5d2e07f7013a975dd35..78da33ded963db63b8c613c6bf1b433c251efe42 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jan 16 18:01:00 2001  Corinna Vinschen <corinna@vinschen.de>
+
+       * mmap.cc (mmap): Initialize fh to avoid compiler warnings.
+
 Mon Jan 15 21:07:00 2001  Christopher Faylor <cgf@cygnus.com>
 
        * wait.cc (wait4): Rename variable for consistency.  Allow restartable
index efb2718b9755128d4efbd39d044734c7ce69e1f6..70cb367373186258a4485f642e9345f723608327 100644 (file)
@@ -386,7 +386,7 @@ mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t off)
   DWORD gran_len = howmany (len, granularity) * granularity;
 
   fhandler_disk_file fh_paging_file (NULL);
-  fhandler_base *fh;
+  fhandler_base *fh = NULL;
   caddr_t base = addr;
   HANDLE h;
 
This page took 0.032427 seconds and 5 git commands to generate.