diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 19417b28e..fb8aba469 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-01-17 Corinna Vinschen + + * fhandler_proc.cc (format_proc_partitions): Fix compiler warning. + 2011-01-17 Corinna Vinschen * path.cc (path_conv::check): Don't follow reparse point symlinks if diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 680927750..a6636ae90 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -1124,7 +1124,7 @@ format_proc_partitions (void *, char *&destbuf) PARTITION_INFORMATION_EX *pix = NULL; PARTITION_INFORMATION *pi = NULL; DWORD bytes_read; - DWORD part_cnt; + DWORD part_cnt = 0; unsigned long long size; device dev;