mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 13:58:58 -04:00
Remove unused variables in test/test-changelist.c
This commit is contained in:
parent
cf249e7d99
commit
b00d4c0452
@ -16,7 +16,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef _EVENT_HAVE_SYS_SOCKET_H
|
#ifdef _EVENT_HAVE_SYS_SOCKET_H
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
@ -50,10 +49,6 @@ write_cb(evutil_socket_t fd, short event, void *arg)
|
|||||||
static void
|
static void
|
||||||
timeout_cb(evutil_socket_t fd, short event, void *arg)
|
timeout_cb(evutil_socket_t fd, short event, void *arg)
|
||||||
{
|
{
|
||||||
|
|
||||||
char buf[256];
|
|
||||||
int len;
|
|
||||||
|
|
||||||
printf("timeout fired, time to end test\n");
|
printf("timeout fired, time to end test\n");
|
||||||
event_del(*(struct event**)arg);
|
event_del(*(struct event**)arg);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user