Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sonar: remove unused private fields.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 28 Oct 2017 16:39:31 +0000 (18:39 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 28 Oct 2017 21:18:37 +0000 (23:18 +0200)
src/mc/remote/Client.hpp
src/smpi/include/smpi_topo.hpp

index 7770b65..05a395a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015. The SimGrid Team.
+/* Copyright (c) 2015-2017. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -28,13 +28,12 @@ namespace mc {
  */
 class XBT_PUBLIC() Client {
 private:
-  bool active_ = false;
   Channel channel_;
   static std::unique_ptr<Client> instance_;
 
 public:
   Client();
-  explicit Client(int fd) : active_(true), channel_(fd) {}
+  explicit Client(int fd) : channel_(fd) {}
   void handleMessages();
 
 private:
index c8f0caf..9dd8742 100644 (file)
@@ -48,7 +48,6 @@ class Topo_Cart: public Topo {
 class Topo_Graph: public Topo {
   private:
     int nnodes_;
-    int nedges_;
     int *index_;
     int *edges_;
   public:
@@ -58,13 +57,10 @@ class Topo_Graph: public Topo {
 
 class Topo_Dist_Graph: public Topo {
   private:
-    int indegree_;
     int *in_;
     int *in_weights_;
-    int outdegree_;
     int *out_;
     int *out_weights_;
-    int is_weighted_;
   public:
     Topo_Dist_Graph();
     ~Topo_Dist_Graph();