Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

bench: fix compiler warnings

  • Loading branch information...
bnoordhuis committed Nov 11, 2011
1 parent e2a794e commit d4bfcc28c80bc8a04ed02eca4f6f75007a120f9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit d4bfcc2

Please sign in to comment.
You can’t perform that action at this time.