Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reimplement the lua console on top of sg_platf
[simgrid.git] / src / msg / environment.c
index fca4a9f..fac131f 100644 (file)
@@ -70,10 +70,9 @@ void MSG_create_environment(const char *file)
 
   /* Initialize MSG hosts */
   xbt_lib_foreach(host_lib, cursor, name, data) {
-       if(data[SIMIX_HOST_LEVEL])
+    if(data[SIMIX_HOST_LEVEL])
       __MSG_host_create((smx_host_t)data[SIMIX_HOST_LEVEL], NULL);
   }
-  return;
 }
 
 /**
@@ -97,5 +96,4 @@ void MSG_load_platform_script(const char *script_file)
   xbt_die
       ("Lua is not available!! to call MSG_load_platform_script, lua should be available...");
 #endif
-  return;
 }