From: Martin Quinson Date: Mon, 20 Jul 2015 16:56:50 +0000 (+0200) Subject: kill an unused field (+cosmetics) X-Git-Tag: v3_12~457 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e36ab8605881c80995e3df732c33bd44bd4eda86?hp=f3e4803befab19389587dd1d9af5ecdeffec551e;ds=sidebyside kill an unused field (+cosmetics) --- diff --git a/src/surf/network_cm02.hpp b/src/surf/network_cm02.hpp index 7edb83f7b6..ff805e4a22 100644 --- a/src/surf/network_cm02.hpp +++ b/src/surf/network_cm02.hpp @@ -86,7 +86,7 @@ class NetworkCm02Action : public NetworkAction { public: NetworkCm02Action(Model *model, double cost, bool failed) - : NetworkAction(model, cost, failed) {}; + : NetworkAction(model, cost, failed) {}; void updateRemainingLazy(double now); }; diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 0ed0576e44..e6fdd84087 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -719,7 +719,6 @@ void Action::initialize(Model *model, double cost, bool failed, m_remains = cost; m_maxDuration = NO_MAX_DURATION; m_finish = -1.0; - m_failed = failed; m_start = surf_get_clock(); m_cost = cost; p_model = model; diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index e8aa31d182..63592b5260 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -502,7 +502,6 @@ protected: double m_finish; /**< finish time : this is modified during the run and fluctuates until the task is completed */ private: - bool m_failed; double m_start; /**< start time */ char *p_category; /**< tracing category for categorized resource utilization monitoring */