summaryrefslogtreecommitdiff
path: root/sample/signal-test.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 /sample/signal-test.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 'sample/signal-test.c')
-rw-r--r--sample/signal-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/signal-test.c b/sample/signal-test.c
index 53c025f9..f969e234 100644
--- a/sample/signal-test.c
+++ b/sample/signal-test.c
@@ -53,11 +53,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 */