Navigation Menu

Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
bench: fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Nov 11, 2011
1 parent e2a794e commit d4bfcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/benchmark-pound.c
Expand Up @@ -28,6 +28,7 @@
#undef NANOSEC
#define NANOSEC ((uint64_t)10e8)

#undef DEBUG
#define DEBUG 0

struct conn_rec_s;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d4bfcc2

Please sign in to comment.