From: Arnaud Giersch Date: Mon, 14 Aug 2017 21:30:31 +0000 (+0200) Subject: Mark unused attribute as unused. X-Git-Tag: v3_17~152^2~32 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bb074ee52aecad7d1f6d089ff7cd78283673240b?hp=2d5c35e78ac07044be9866ca4adc06bb5010070c Mark unused attribute as unused. --- diff --git a/examples/s4u/app-bittorrent/s4u_tracker.hpp b/examples/s4u/app-bittorrent/s4u_tracker.hpp index 6aff63d9c6..591233f9e3 100644 --- a/examples/s4u/app-bittorrent/s4u_tracker.hpp +++ b/examples/s4u/app-bittorrent/s4u_tracker.hpp @@ -22,7 +22,7 @@ public: }; class TrackerAnswer { - int interval; // how often the peer should contact the tracker (unused for now) + XBT_ATTRIB_UNUSED int interval; // how often the peer should contact the tracker (unused for now) std::set* peers; // the peer list the peer has asked for. public: explicit TrackerAnswer(int interval) : interval(interval) { peers = new std::set; }