Avoid compiler warning

This commit is contained in:
Bert Belder 2012-07-30 11:00:37 +02:00
parent 4fe1916926
commit 1d5eb91474

View File

@ -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);
}