fix compilation error due to no return for net clang
authorYanhua Sun <sun51@illinois.edu>
Mon, 16 Sep 2013 15:30:25 +0000 (10:30 -0500)
committerYanhua Sun <sun51@illinois.edu>
Mon, 16 Sep 2013 15:30:25 +0000 (10:30 -0500)
src/arch/net/machine.c

index 79acb59741a3a28d2336f6179ae491e9bc362146..e18ce0e6be281a7b0f2c59217aa8bf0db8cd88eb 100644 (file)
@@ -2044,7 +2044,7 @@ CmiCommHandle CmiGeneralNodeSend(int node, int size, int freemode, char *data)
     CmiPushImmediateMsg(data);
       /* only communication thread executes immediate messages in SMP */
     if (!_immRunning) CmiHandleImmediate();
     CmiPushImmediateMsg(data);
       /* only communication thread executes immediate messages in SMP */
     if (!_immRunning) CmiHandleImmediate();
-    return;
+    return NULL;
   }
 #endif
 
   }
 #endif