aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/ntea.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-05-18 17:23:17 +0000
committerCorinna Vinschen <corinna@vinschen.de>2005-05-18 17:23:17 +0000
commit692fccabfbcc7ca9af8a9fa8d2f08f875170d26f (patch)
treeeb4ee85a46343b61ae9f9a14dbc9efbb0993a058 /winsup/cygwin/ntea.cc
parentd621341de7cc21830eaa70ec3832336a85ead3f3 (diff)
downloadnewlib-692fccabfbcc7ca9af8a9fa8d2f08f875170d26f.zip
newlib-692fccabfbcc7ca9af8a9fa8d2f08f875170d26f.tar.gz
newlib-692fccabfbcc7ca9af8a9fa8d2f08f875170d26f.tar.bz2
* mmap.cc (mmap64): Avoid compiler warning.
* ntea.cc (NTReadEA): Ditto. * hires.h (hires_base): Remove useless usecs function.
Diffstat (limited to 'winsup/cygwin/ntea.cc')
-rw-r--r--winsup/cygwin/ntea.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/ntea.cc b/winsup/cygwin/ntea.cc
index a195471..f33d822 100644
--- a/winsup/cygwin/ntea.cc
+++ b/winsup/cygwin/ntea.cc
@@ -88,7 +88,7 @@ NTReadEA (const char *file, const char *attrname, char *attrbuf, int len)
HANDLE hFileSource;
int eafound = 0;
PFILE_FULL_EA_INFORMATION ea, sea;
- int easize;
+ int easize = 0;
hFileSource = CreateFile (file, FILE_READ_EA,
FILE_SHARE_READ | FILE_SHARE_WRITE,