Commit fd300318 authored by unknown's avatar unknown

Revert earlier change that removes warnings, but breaks Windows compilation.

parent f250f234
...@@ -185,9 +185,7 @@ devpoll_init(struct event_base *base) ...@@ -185,9 +185,7 @@ devpoll_init(struct event_base *base)
} }
static int static int
devpoll_recalc(struct event_base *base __attribute__((unused)), devpoll_recalc(struct event_base *base, void *arg, int max)
void *arg __attribute__((unused)),
int max)
{ {
struct devpollop *devpollop = arg; struct devpollop *devpollop = arg;
......
...@@ -75,8 +75,7 @@ bufferevent_add(struct event *ev, int timeout) ...@@ -75,8 +75,7 @@ bufferevent_add(struct event *ev, int timeout)
*/ */
void void
bufferevent_read_pressure_cb(struct evbuffer *buf, bufferevent_read_pressure_cb(struct evbuffer *buf, size_t old, size_t now,
size_t old __attribute__((unused)), size_t now,
void *arg) { void *arg) {
struct bufferevent *bufev = arg; struct bufferevent *bufev = arg;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment