fix variable declaration for VC++
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 29 Dec 2011 16:35:20 +0000 (10:35 -0600)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 29 Dec 2011 16:35:20 +0000 (10:35 -0600)
tests/converse/commbench/reduction.c

index 36bd3a4f600cbd0728d1ae8f73b3423340ca683d..114e74f68c2fc7803f35bde1186e4359eeb6de82 100644 (file)
@@ -119,8 +119,8 @@ static void reduction_starter(void *msg)
 
 static void reduction_handler(void *msg) 
 {
-  CpvAccess(endtime) = CmiWallTimer();
   EmptyMsg emsg;
+  CpvAccess(endtime) = CmiWallTimer();
 
   CmiFree(msg);
   CmiSetHandler(&emsg, CpvAccess(reduction_starter));