X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a51412052680be35c70a5771242eb5a0a61b1dea..bd76919be169a04d524d59aaad0698411793a410:/src/surf/sg_platf.cpp diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index ee0542ce8e..b22b8b89a7 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -195,7 +195,6 @@ void sg_platf_new_cluster(ClusterCreationArgs* cluster) XBT_DEBUG("", host_id.c_str(), cluster->speeds.front()); s_sg_platf_host_cbarg_t host; - memset(&host, 0, sizeof(host)); host.id = host_id.c_str(); if ((cluster->properties != nullptr) && (not cluster->properties->empty())) { host.properties = new std::map; @@ -316,7 +315,6 @@ void sg_platf_new_cabinet(CabinetCreationArgs* cabinet) for (int const& radical : *cabinet->radicals) { std::string hostname = cabinet->prefix + std::to_string(radical) + cabinet->suffix; s_sg_platf_host_cbarg_t host; - memset(&host, 0, sizeof(host)); host.pstate = 0; host.core_amount = 1; host.id = hostname.c_str();