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:
authorChristopher Faylor <me@cgf.cx>2000-02-23 07:07:13 +0300
committerChristopher Faylor <me@cgf.cx>2000-02-23 07:07:13 +0300
commit01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8 (patch)
treee8ad6225e248c2869b6870f95dd07a2a9b7cfcb3 /winsup/cygwin/select.cc
parent237e6cfa8284cd2718fecca62aac0e3034b120eb (diff)
Respond to more g++ warnings relating to initializing structures.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 69f1ec9e1..b3d35606e 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -1038,7 +1038,7 @@ static int
peek_socket (select_record *me, int)
{
winsock_fd_set ws_readfds, ws_writefds, ws_exceptfds;
- struct timeval tv = {0};
+ struct timeval tv = {0, 0};
WINSOCK_FD_ZERO (&ws_readfds);
WINSOCK_FD_ZERO (&ws_writefds);
WINSOCK_FD_ZERO (&ws_exceptfds);