Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Declare functions with attribute 'noreturn' (sonar).
[simgrid.git] / src / mc / api / RemoteApp.cpp
index cc7be72..d9f5782 100644 (file)
@@ -42,7 +42,7 @@ static simgrid::config::Flag<std::string> _sg_mc_setenv{
 
 namespace simgrid::mc {
 
-static void run_child_process(int socket, const std::vector<char*>& args)
+XBT_ATTRIB_NORETURN static void run_child_process(int socket, const std::vector<char*>& args)
 {
   /* On startup, simix_global_init() calls simgrid::mc::Client::initialize(), which checks whether the MC_ENV_SOCKET_FD
    * env variable is set. If so, MC mode is assumed, and the client is setup from its side