Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar by removing useless asignments and return statements
[simgrid.git] / src / simix / smx_global.cpp
index dd1e268..598882c 100644 (file)
@@ -321,7 +321,6 @@ void SIMIX_clean()
   surf_exit();
 
   simix_global = nullptr;
-  return;
 }
 
 
@@ -571,7 +570,7 @@ void SIMIX_run()
  *
  * Set the date to execute the function on the surf.
  *   \param date Date to execute function
- *   \param function Function to be executed
+ *   \param callback Function to be executed
  *   \param arg Parameters of the function
  *
  */
@@ -693,14 +692,6 @@ void SIMIX_display_process_status()
   }
 }
 
-xbt_dict_t simcall_HANDLER_asr_get_properties(smx_simcall_t simcall, const char *name){
-  return SIMIX_asr_get_properties(name);
-}
-xbt_dict_t SIMIX_asr_get_properties(const char *name)
-{
-  return static_cast<xbt_dict_t>(xbt_lib_get_or_null(as_router_lib, name, ROUTING_PROP_ASR_LEVEL));
-}
-
 int SIMIX_is_maestro()
 {
   return simix_global==nullptr /*SimDag*/|| SIMIX_process_self() == simix_global->maestro_process;