X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/905948d05c644e30242007ee7fea0f0e1254452e..18aa533da7e4302fe69e93f895ba360032ff0b49:/examples/s4u/dht-chord/s4u-dht-chord.hpp diff --git a/examples/s4u/dht-chord/s4u-dht-chord.hpp b/examples/s4u/dht-chord/s4u-dht-chord.hpp index c071fe25d4..ba0ac1fcd0 100644 --- a/examples/s4u/dht-chord/s4u-dht-chord.hpp +++ b/examples/s4u/dht-chord/s4u-dht-chord.hpp @@ -61,7 +61,7 @@ public: int request_id = -1; // id (used by some types of messages) int request_finger = 1; // finger parameter (used by some types of messages) int answer_id = -1; // answer (used by some types of messages) - simgrid::s4u::Mailbox* answer_to; // mailbox to send an answer to (if any) + simgrid::s4u::Mailbox* answer_to = nullptr; // mailbox to send an answer to (if any) explicit ChordMessage(e_message_type_t type) : type(type), issuer_host_name(simgrid::s4u::this_actor::get_host()->get_name())