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

Commit

Permalink
Avoid compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Jul 30, 2012
1 parent 4fe1916 commit 1d5eb91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test-tcp-unexpected-read.c
Expand Up @@ -49,6 +49,8 @@ static void timer_cb(uv_timer_t* handle, int status) {

static uv_buf_t alloc_cb(uv_handle_t* handle, size_t suggested_size) {
ASSERT(0 && "alloc_cb should not have been called");
/* Satisfy the compiler. */
return uv_buf_init(NULL, 0);
}


Expand Down

0 comments on commit 1d5eb91

Please sign in to comment.