fix compilation error due to no return for net clang
[charm.git] / 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();
-    return;
+    return NULL;
   }
 #endif