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 /sample/time-test.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 'sample/time-test.c')
-rw-r--r-- | sample/time-test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/time-test.c b/sample/time-test.c index 61b4a6c1..77d4e206 100644 --- a/sample/time-test.c +++ b/sample/time-test.c @@ -74,11 +74,10 @@ main(int argc, char **argv) #ifdef WIN32 WORD wVersionRequested; WSADATA wsaData; - int err; wVersionRequested = MAKEWORD(2, 2); - err = WSAStartup(wVersionRequested, &wsaData); + (void)WSAStartup(wVersionRequested, &wsaData); #endif if (argc == 2 && !strcmp(argv[1], "-p")) { |