From: Gabriel Corona Date: Tue, 19 Jan 2016 11:54:11 +0000 (+0100) Subject: [s4u] Do not need to check for NULL before delet X-Git-Tag: v3_13~1205 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5a77ab53a4a037194f394ef90f484f490d487be1 [s4u] Do not need to check for NULL before delet This is already included. --- diff --git a/src/s4u/s4u_host.cpp b/src/s4u/s4u_host.cpp index a21b4d01ec..3842d674e9 100644 --- a/src/s4u/s4u_host.cpp +++ b/src/s4u/s4u_host.cpp @@ -42,8 +42,7 @@ Host::Host(const char* name) Host::~Host() { delete pimpl_cpu; - if (mounts != NULL) - delete mounts; + delete mounts; } Host *Host::by_name(std::string name) {