From 820c942e3af29a838a027b3cf391382f0de5f5ce Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 9 May 2011 16:58:37 +0200 Subject: [PATCH] Make MS happy, declare variables first --- test/test-loop-handles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-loop-handles.c b/test/test-loop-handles.c index 83a43e9c..9f8c72d8 100644 --- a/test/test-loop-handles.c +++ b/test/test-loop-handles.c @@ -123,10 +123,10 @@ static void timeout_cb(oio_req_t *req, int64_t skew, int status) { static void idle_2_cb(oio_handle_t* handle, int status) { - LOG("IDLE_2_CB\n"); - int r; + LOG("IDLE_2_CB\n"); + ASSERT(handle == &idle_2_handle); ASSERT(status == 0);