diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-01 17:38:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-01 17:56:06 -0400 |
commit | 94866c2763c51d11354437b48d05c19306e220a9 (patch) | |
tree | 50daf90be198f4f5f8c98c7042cb771d5a745f50 /test/regress_main.c | |
parent | 2479d964054c3743b9ed292dc1cd2ee70aadf6fb (diff) | |
download | libevent-94866c2763c51d11354437b48d05c19306e220a9.tar.gz |
Compile without warnings on mingw64
This is mostly a matter of catching cases where we were still
assuming that evutil_socket_t could be used as an int.
Diffstat (limited to 'test/regress_main.c')
-rw-r--r-- | test/regress_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/regress_main.c b/test/regress_main.c index e32afff7..1649e9df 100644 --- a/test/regress_main.c +++ b/test/regress_main.c @@ -392,11 +392,10 @@ main(int argc, const char **argv) #ifdef WIN32 WORD wVersionRequested; WSADATA wsaData; - int err; wVersionRequested = MAKEWORD(2, 2); - err = WSAStartup(wVersionRequested, &wsaData); + (void) WSAStartup(wVersionRequested, &wsaData); #endif #ifndef WIN32 |