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

Avoid compiler warning

  • Loading branch information...
piscisaureus committed Jul 30, 2012
1 parent 4fe1916 commit 1d5eb914742962b75ed868f19ee712fad266dfc0
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/test-tcp-unexpected-read.c
@@ -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);
}


0 comments on commit 1d5eb91

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