Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Mark unused attribute as unused.
[simgrid.git] / examples / s4u / app-bittorrent / s4u_tracker.hpp
index 6aff63d..591233f 100644 (file)
@@ -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<int>* peers; // the peer list the peer has asked for.
 public:
   explicit TrackerAnswer(int interval) : interval(interval) { peers = new std::set<int>; }