Browse files

conform to ANSI C

  • Loading branch information...
1 parent 71f6c0e commit f5bd21f181a8acc4cdfe015ca818dbb6b7fe6831 Igor Zinkovsky committed Jan 16, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/test-eio-overflow.c
View
4 test/test-eio-overflow.c
@@ -46,9 +46,11 @@ void after_work_cb(uv_work_t* work) {
void make_eio_req(void) {
+ uv_work_t* w;
+
opened++;
- uv_work_t* w = (uv_work_t*) malloc(sizeof(*w));
+ w = (uv_work_t*) malloc(sizeof(*w));
ASSERT(w != NULL);
uv_queue_work(uv_default_loop(), w, work_cb, after_work_cb);

0 comments on commit f5bd21f

Please sign in to comment.