summaryrefslogtreecommitdiff
path: root/test/test-init.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-01 17:38:34 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-01 17:56:06 -0400
commit94866c2763c51d11354437b48d05c19306e220a9 (patch)
tree50daf90be198f4f5f8c98c7042cb771d5a745f50 /test/test-init.c
parent2479d964054c3743b9ed292dc1cd2ee70aadf6fb (diff)
downloadlibevent-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/test-init.c')
-rw-r--r--test/test-init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-init.c b/test/test-init.c
index 2dfa865c..fc18f4d1 100644
--- a/test/test-init.c
+++ b/test/test-init.c
@@ -51,11 +51,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
/* Initalize the event library */