Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless check for null before free.
[simgrid.git] / src / msg / msg_global.cpp
index c90d181..cab13d9 100644 (file)
@@ -86,9 +86,6 @@ void MSG_config(const char *key, const char *value){
 }
 
 static void MSG_exit() {
-  if (msg_global==nullptr)
-    return;
-
   delete msg_global;
   msg_global = nullptr;
 }