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>2011-01-17 17:31:30 +0300
committerCorinna Vinschen <corinna@vinschen.de>2011-01-17 17:31:30 +0300
commitfc660168bf056b96c6825d3a4ef97b75261577d5 (patch)
treecf59596e33a44be7bb719bec1a7daf2eb8f100c8 /winsup/cygwin/fhandler_proc.cc
parentbe371651146ca13155181a801d785cca77acbacb (diff)
* fhandler_proc.cc (format_proc_partitions): Fix compiler warning.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc2
1 files changed, 1 insertions, 1 deletions
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;