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

Commit

Permalink
unix: fix a few compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Oct 12, 2011
1 parent 81303a7 commit c903bc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/unix/stream.c
Expand Up @@ -482,7 +482,6 @@ static void uv__read(uv_stream_t* stream) {
struct msghdr msg;
struct cmsghdr* cmsg;
char cmsg_space[64];
int received_fd = -1;
struct ev_loop* ev = stream->loop->ev;

/* XXX: Maybe instead of having UV_READING we just test if
Expand Down Expand Up @@ -564,7 +563,7 @@ static void uv__read(uv_stream_t* stream) {
return;
} else {
/* Successful read */
size_t buflen = buf.len;
ssize_t buflen = buf.len;

if (stream->read_cb) {
stream->read_cb(stream, nread, buf);
Expand Down

0 comments on commit c903bc3

Please sign in to comment.