From d4bfcc28c80bc8a04ed02eca4f6f75007a120f9b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 11 Nov 2011 18:52:34 +0100 Subject: [PATCH] bench: fix compiler warnings --- test/benchmark-pound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/benchmark-pound.c b/test/benchmark-pound.c index 92a536db..64f404ca 100644 --- a/test/benchmark-pound.c +++ b/test/benchmark-pound.c @@ -28,6 +28,7 @@ #undef NANOSEC #define NANOSEC ((uint64_t)10e8) +#undef DEBUG #define DEBUG 0 struct conn_rec_s; @@ -135,7 +136,6 @@ static void connect_cb(uv_connect_t* req, int status) { static void read_cb(uv_stream_t* stream, ssize_t nread, uv_buf_t buf) { - conn_rec* p = (conn_rec*)stream->data; uv_err_t err = uv_last_error(loop); ASSERT(stream != NULL);